Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 15, 2008 20:01
open dhtmlx forum
Error

Iam getting the following error in the dhtmlxgrid.js:

f_list+=(headCol[i].firstChild?headCol[i].firstChild.data:"").replace(/^\s*((.|\n)*.+)\s*$/gi,"$1")+this.delim;--------- 'undefined' is null or not an object

What could be the possible reasons for this error?
Answer posted by Support on Apr 16, 2008 01:59
The problem caused by some specific content, inside of column tag in configuration XML
So far there were no report about similar problem , so I'm pretty unsure what is the reason of problem, if it still occurs - please provide the configuration XML which cause such error
( Most probably you have some non-text content inside column tag )
Answer posted by richard@j7is.co.uk on Apr 11, 2009 07:20
i got the same error and it occured when i made a coro column with options. it caused this error because i declared the options before putting the column text in.

it worked fine after putting the column text before the combo options
Answer posted by dhxSupport on Apr 13, 2009 02:05
We can't reproduce this issue locally. Please provide sample where we can reproduce this issue including files which you are using to init grid. What version of dhtmlxGrid do you use?