Exemple #1
0
        protected async Task OnPage(MatPaginatorPageEvent e)
        {
            pageSize  = e.PageSize;
            pageIndex = e.PageIndex;

            await LoadUsers();
        }
        private async Task OnPageAsync(MatPaginatorPageEvent e)
        {
            pageSize  = e.PageSize;
            pageIndex = e.PageIndex;

            await LoadUsersPaged();
        }
Exemple #3
0
        protected async void OnPage(MatPaginatorPageEvent e)
        {
            pageSize   = e.PageSize;
            startIndex = e.PageIndex * e.PageSize;

            await getList();
        }
Exemple #4
0
        protected async Task OnPageAsync(MatPaginatorPageEvent e)
        {
            snackBarIsOpen = true;
            pageSize       = e.PageSize;
            res            = await dbContext.GetRBACResults <fn_rbac_CombinedDeviceResources>().OrderBy(p => p.MachineID).Skip(e.PageSize * e.PageIndex).Take(pageSize).ToArrayAsync();

            snackBarIsOpen = false;
        }
Exemple #5
0
 protected async Task OnPage(MatPaginatorPageEvent e)
 {
     GridConfig.PageSize  = e.PageSize;
     GridConfig.PageIndex = e.PageIndex + 1;
     GridConfig.ItemList  = await GridConfig.GetPageAsync(Sort, GridSearch);
 }
 async Task OnPage(MatPaginatorPageEvent e)
 {
     PageSize  = e.PageSize;
     PageIndex = e.PageIndex;
     await LoadDataAsync();
 }
Exemple #7
0
 async Task OnPage(MatPaginatorPageEvent e)
 {
     PageSize  = e.PageSize;
     PageIndex = e.PageIndex;
     await LoadDataAsync().ConfigureAwait(false);
 }