≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
How can I count the number of columns in my datatable?
How can I count the number of columns in my datatable?
dharric
Posts: 17
Questions: 0
Answers: 0
August 2011
edited August 2011
in
General
Thanks.
Replies
MrBaseball34
Posts: 96
Questions: 0
Answers: 0
August 2011
Would you find it in the aoColumns variable in settings?
MrBaseball34
Posts: 96
Questions: 0
Answers: 0
August 2011
oSettings.aoColumns.length
allan
Posts: 65,835
Questions: 1
Answers: 10,953
Site admin
August 2011
edited August 2011
You would indeed :-). Or fnSettings().aoColumns.length if you have the instance available.
Allan
This discussion has been closed.
Replies
Allan