I have built this table with 8 columns and 100 rows. I need to sort each column so users can rank column easily with a click of a button. Attached is the table screenshot.
Any help is much appreciated.
Thanks,
Luca
I have built this table with 8 columns and 100 rows. I need to sort each column so users can rank column easily with a click of a button. Attached is the table screenshot.
Any help is much appreciated.
Thanks,
Luca
Hi,
Is the table connected to a dataset? if it is you can sort the database based on the table field that was clicked, use the setSort() function.
You can also sort the rows with your costume code and use table.rows to set the new order of the rows.
You have to short ‘dataset’ by using filter option in dataset.
Hi, I am not sure I understand. Can you please show me or give me more details please?
if you want sort by tapping header section then it is inbuilt in wix table. just tap for a while and it will show option of filter. If you want to put some sort button you need use of corvid. If you want to show sorted columns you simply go to the setting of dataset and there on downside you will find setting filter option. There you can set multiple sorting filters.
Hi, yes I want to put some sort buttons using Corvid. I have tried to put some code in the dev tools but didn’t work. I have also tried using some of the codes I have seen in this forum and also sadly didn’t work.
I know how to filter or sort within the table, but this only shows in the dataset, not on the live table.
How can I add sorting buttons with Corvid?
Check the javascript Array.sort() with callback function. Rows on table are array.
I have never used JS before, so can you please talk to me like a 5 years old kid? I would need the idiot guide on to build the code for this table, please
Can we get a built in sort order “random” through the dataset settings?