Exemple #1
0
        private void HandlePageIndexChange(PaginationEventArgs args)
        {
            PageIndexChanged.InvokeAsync(args.PageIndex);
            OnPageIndexChange.InvokeAsync(args);

            ChangeSelection(null);
        }
        public virtual async Task SetPageIndex(int newPageIndex)
        {
            pageIndex = newPageIndex;
            await PageIndexChanged.InvokeAsync(pageIndex);

            await GetData();
        }