Ejemplo n.º 1
0
 private void PagingDataGrid_PagingChanged(object sender, PagingChangedEventArgs args)
 {
     if (args != null)
     {
         model.SearchCommand.Execute(new ProductRequestDto()
         {
             Categories   = model.CategoryTreeModel.GetEfficientItem().Select(p => p.CategorySN).ToList(),
             KeyWord      = model.KeyWord,
             ProductBrand = model.ProductBrand,
             Store        = model.Store,
             PageIndex    = args.PageIndex,
             PageSize     = args.PageSize
         });
     }
 }
Ejemplo n.º 2
0
 private void PagingDataGrid_PagingChanged(object sender, PagingChangedEventArgs args)
 {
     Query(args.PageSize, args.PageIndex);
 }