It makes no sense to create multiple session storage managers, you only need one on your page. They all show the same variables as they are stored in the browser session storage.
You only need one session manager on your page.
I have 4 tab panels with tables. The dir/sort on the tables was not working as it isn't now for this new table. AI Assistant troubleshooting suggested adding another query manager different name - thus 3 - and that change resulted in the dir/sort in the table head to work on the first two tables.
AI can make mistakes, so do not always rely 100% on its suggestions. You only need one session manager. Define your different sort and order parameters there and then bind them to the tables where you need them.
Hi Brian - yes I always select individual fields -
I just got it working with this change:
in the code generated that I posted the head table row looks like this <tr>
In a previous iteration I found this: <tr dmx-on:click="sc_qry_invites_list.load({sort: sortDir.data.sort, dir: sortDir.data.dir})">
replaced it in the table code I supplied and it works there now
Is this the appropriate way to sort the table and if yes, why didn't table generator consistently supply that line? Only table code I'm referencing is created by the table generator.
I have no idea what to look at here.
If you are using a query manager to store the sort/dir values, it should also be ONE. You don't need multiple query managers. Same for session storage manager, same for cookie manager.
I am referring to the server action on your page. When you select it, in the properties you can bind the values used for sort and dir. Make sure to set the ones that you use in the table generator to store the sort and dir:
Please provide a link to your page where i can check it.
Not sure what "doesn't work" exactly, as something just seems not correctly setup, or broken by hand editing the code.
It's the Invites table, inside the Invites tab. Terms/Members were setup with the multiple query managers. I'll convert them once I see it working. Terms/Members has server calls on each table header.