alfajango / jquery-dynatable

A more-fun, semantic, alternative to datatables
http://www.dynatable.com
Other
2.78k stars 363 forks source link

Dynatable with static column (row counter) #301

Open riccardotorre opened 6 years ago

riccardotorre commented 6 years ago

Hello, I have a table with several numeric columns showing different metrics for evaluating entities. In the first column I would like to show, independently on the sorting of the other columns, a counter of the "position" or "rank". In other words I need to add a column that is completely static and just counts the line number in the table (always showing 1, 2, 3...). Is this possible? I was thinking of adding another table with independent sorting and use the data-dynatable-no-sort attribute on it, but I did not manage to make it work, also paginating the two tables consistently.