How do I get column count of a YUI datatable?
var columns = dataTable.columns;
var length = columns.length;
doesn't work.
I am using YUI2.
How do I get column count of a YUI datatable?
var columns = dataTable.columns;
var length = columns.length;
doesn't work.
I am using YUI2.
In YUI2:
http://yui.github.io/yui2/docs/yui_2.9.0_full/docs/YAHOO.widget.DataTable.html
like so: