reactive-table
reactive-table copied to clipboard
Array passed into the table doesn't follow the order
Hello, I want to pass a sorted array into reactive-table. But when the data shows up on the page, the order is different. For example, the first row is not the item at index 0 but something else. I added sortable:false to every header but it won't work. I'm sure that the array that's passed has the right order. What should I do?
The table can only sort based on one of the columns, but you can add hidden: true to it if you don't want it to show. You will have to put the array indexes into the array data so that can be a column.