Data disappearing shortly after sort

I have a table with mutliple columns displaying data that seems to be functioning fine. I recwntly set a sort icon for one column using a custom state of yes/no set in the page. When the icon is clicked it sets the state to “yes”. From there it changes the data source. All straight forward.

My issue is the column sorts for maybe a second or two. I am able to visually see the resorting of data. Then the table disappears or at least the visualization of the data. No issues in the debugger. Theres nothing set that would cause this like a trigger to hide, etc. I cant determine whats causing this.

Hi there,

Can you include screenshots of how your RG data source is setup, sorting, custom state, etc?

screenshot1
screenshot2
screenshot3
screenshot4


screenshot6

I appreciate any insight. It’s hard for me to catch the actual sort take place with a screenshot before it disappears and displays a blank table. Here are the screenshots of the setup if it helps.

I think the problem may be a circular dependency; as soon as you switch the data source, the source now references the table’s data…which is now the table’s data (etc).

Instead of setting that data source to the table’s data, can you try setting the data just like it is prior to the sort, and add the sort on top of that?