Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 22, 2008 23:30
open dhtmlx forum
subscript out of range error

Hi,

We are encountering subscript out of range error while trying to add a column dynamically to a grid. How can we add the column to a grid dynamically?
Answer posted by Support on Oct 23, 2008 02:15
You can use insertColumn(index,header_text,type,width,...) method (dhtmlxgrid_mcol.js should be included).

Please, see details in the dhtmlxGrid/doc/alpha.html