Hi everyone,
I’m running into a strange display issue with the Data Grid component and was wondering if anyone else has encountered this or found a workaround.
The Setup: I have a Data Grid where I’ve enabled dynamic sorting based on a boolean (checkbox) column. The goal is for checked items to automatically move to the bottom of the list. The “Country” column in this grid is actually a Lookup column from another table.
The Problem: When I check a new country (e.g., UK) the sort happens in the background and I end up with China with checked box, but the first column doesn’t seem to refresh and the list of countries stays static with UK above. Switching tabs in the app and then returning causes the refresh…. This results in the “checked” state appearing next to the wrong country name because the row has moved but the country label hasn’t updated to match the new checkbox.
Key Details:
-
Component: Data Grid
-
Sorting: Dynamic (based on the checkbox column)
-
Data Source: The first column is a Lookup.
Has anyone experienced this “ghosting” of data in the first column when using dynamic sorting? I suspect it might be related to how the grid handles Lookups during a re-sort, but I’d love to know if there’s a fix or a specific way to force a refresh.
Any help would be greatly appreciated!
Regards,
Simon.
