I have a dynamic column in my retool table. When i tried to use the column reorder event. The specific columns are either moving to the end of the table or creating a duplicate column.
In my application, I'm trying to save the column reorder into local storage and show the same order to the user on the next login. Somehow, this isn't working as expected. Can anyone help here please!
Returning keys to get only the column names
const keys =Object.keys(retriveColOrder.data[0]);
return keys;
Saving the order in local storage
const tableColumnOrder = query13.data;
localStorage.setValue('tableColumnOrder', tableColumnOrder);
Setting up column Ordering
table1.setColumnOrdering(localStorage.values.tableColumnOrder);
Reordering is working fine. But when i try to reorder the dynamic columns, that specific column and the source column are moving to the end of the table.
Dynamic Column:
Here, VW_SUM_STREAMS is the source column and is having the format as 'progress'.
We shipped a fix, but the version you're using doesn't have the fix yet. I can manually add the fix to your org, but I'm having trouble finding it based off of the email you use for the forum.
Could you add your Retool org email to your profile, if it is different, or could you DM me your license key?
Just checking in here. Unfortunately, adding this particular fix ended up being a bit more complicated. I am still working with our engineering team on getting you access, but I'll keep you posted
Thanks for your patience! We added the feature to your organization It should be available after you click the "Check Key" button on the Settings > Advanced page in your Retool instance, or wait 6 hours for the next automatic license key refresh.
I've tried testing the column reordering after the "License key refresh". But, I'm still facing the same issue. The Dynamic column(source and target columns) are moving to the end of the table.
Please let me know if anything need to be fixed or to be added from my end.
I still haven't been able to reproduce a bug that persists with the feature I added to your org Any chance you could share an app export in a DM for us to research further?