Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael on Dec 22, 2008 11:28
open dhtmlx forum
setColumnIds doesn't work for me

I use the setColumnIds("custom1,custom2,custom3") property for my grid, but I still see c0,c1,c2...etc on the server side.

Shouldn't I be able to reference by custom column id?
Answer posted by Support on Dec 23, 2008 01:21
setColumnIds just assign IDs to the columns, if you want to use them instead of column indexes with dataprocessor, you need to add next command to dataprocessor's init
        dp.enableDataNames(true);