How to get number of columns in a table
How to get number of columns in a table
Jithu123
Posts: 8Questions: 6Answers: 0
Hi,recently I started using datatables.Can you please tell me how to get number of columns in a table?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use myGrid.init().columns.length, where myGrid is your DataTables instance.
Great!!!! Its working thank you