How to display line numbers in the table,and when I click header to resort, the line number is ...
How to display line numbers in the table,and when I click header to resort, the line number is ...
gz775
Posts: 4Questions: 2Answers: 0
How to display line numbers in the table,and when I click header to resort, the line number is correct??
Help pls.
This discussion has been closed.
Answers
Like this?
http://www.datatables.net/examples/api/counter_column.html
yes,it works, thank you very much
the example show how to load all data and show line number
but when I use server-side load data,it doesn't worked when pageing ,sorting and filtering , how to show row number in this case ?