How can I count the number of columns in my datatable?

How can I count the number of columns in my datatable?

dharricdharric Posts: 17Questions: 0Answers: 0
edited August 2011 in General
Thanks.

Replies

  • MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
    Would you find it in the aoColumns variable in settings?
  • MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
    oSettings.aoColumns.length
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    edited August 2011
    You would indeed :-). Or fnSettings().aoColumns.length if you have the instance available.

    Allan
This discussion has been closed.