We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi community I used a Datagrid in a project, I have grouped my table by a column (Days)
I want to ask how can I make my days orderByDescending ?
This is how I fill my binded collection
var res = Faults0DtoAll.OrderByDescending(x => x.FromDateTime).ToList(); Faults0DtoToShow = new ObservableCollection<Fault0Dto>(res);
And this is my Grid
<DataGrid TItem="Fault0Dto" Data="@Faults0DtoToShow" Sortable="true" PageSize="@totalItems" SortMode="DataGridSortMode.Single" Striped="true" Hoverable="true" Groupable Responsive > <DataGridColumns> <DataGridColumn TItem="Fault0Dto" Field="@nameof(Fault0Dto.ErrorCode)" Caption="کد خطا" /> <DataGridColumn TItem="Fault0Dto" Field="@nameof(Fault0Dto.ErrorDesc)" Caption="توضیح خطا" /> <DataGridColumn TItem="Fault0Dto" Field="@nameof(Fault0Dto.FromDayFa)" Caption="روز" SortField="@nameof(Fault0Dto.FromDayEn)" SortDirection="SortDirection.Descending" Displayable="false" Groupable Grouping /> ... </DataGridColumns> <EmptyTemplate> <p>هنوز داده ای موجود نیست</p> </EmptyTemplate> </DataGrid>
The text was updated successfully, but these errors were encountered:
@David-Moreira
Sorry, something went wrong.
Is there any hope?
David-Moreira
No branches or pull requests
Hi community
I used a Datagrid in a project,
I have grouped my table by a column (Days)
I want to ask how can I make my days orderByDescending ?
This is how I fill my binded collection
And this is my Grid
The text was updated successfully, but these errors were encountered: