Replies: 2 comments 3 replies
-
Have you tried to add a |
Beta Was this translation helpful? Give feedback.
3 replies
-
I found that the Queryable i used for datagrid should not be queried in the code block to change the datagrid. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey. I am new to Fluent UI and having some difficulty with datagrid.
I have a FluentDataGrid to show list of model. I want to filter the items according to a property. When i query and update the items and use updateDataAsync() method, datagrid does not update and at the end of the method browser gives error.
How am i suppose to update DataGrid when items list changes?
This is my datagrid:
<FluentDataGrid @ref="@MealGrid" TGridItem="Meal" Items="@FilteredMeals" ShowHover="true" ResizableColumns=true Pagination="@pagination" GridTemplateColumns="0.2fr 0.1fr 0.1fr 0.6fr 0.2fr 0.2fr" RowClass="@rowClass" RowStyle="@rowStyle" Style="height: auto;overflow:auto;">
this is the method triggered for filtering:
i have debugged the method and the query is working well. FileteredMeals (which datagrid uses as items) updates according to filtering. But the grid does not update.
Beta Was this translation helpful? Give feedback.
All reactions