private async Task GridState_OnHeaderClicked(Models.SortEventArgs e) { _pageRequest.OrderBy = e.OrderBy; await GetEntityList(_pageRequest) .ConfigureAwait(false); StateHasChanged(); }
private Task GridState_OnHeaderClicked(Models.SortEventArgs arg) { if (string.IsNullOrEmpty(arg.OrderBy)) { return(Task.CompletedTask); } OnStort(arg); return(InvokeAsync(StateHasChanged)); }
private Task GridState_OnHeaderClicked(Models.SortEventArgs e) { _class = GridState.GetHeaderArrowClassSuffix(Property); StateHasChanged(); return(Task.CompletedTask); }