Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Simon on May 04, 2008 21:53
open dhtmlx forum
how to get title of every column?

my grid column title is from backend xml stream,how to get title of every column on web page?
thank you.
Answer posted by Support on May 08, 2008 01:12
You can get label from title as
    grid.getColumnLabel(ind);
where ind - index of column

If you have multiline header and need to access some of its rows you can use

    grid.getColumnLabel(ind,row_index)
where row_index - index of row in header