How to find column width
Hi All,i want to find the each and every column width of the grid. i have been using the below coading. Unluckily it's not supported in my page. Please any one help me to recover this problem.
var i;
var widths = [];
var count = obj.getColumnProperty("count");
for (i = 0; i < count; ++i)
{
widths[i] = obj.getTemplate("top/item", i).element().offsetWidth;
}
alert(widths);
var i;
var widths = [];
var count = obj.getColumnProperty("count");
for (i = 0; i < count; ++i)
{
widths[i] = obj.getTemplate("top/item", i).element().offsetWidth;
}
alert(widths);
Sabi
September 19,