Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John Lagos on Jan 22, 2009 04:15
open dhtmlx forum
Grid configuration errors

I use PRO and suddenly I got these errors, without changing any of the include files.

For the Grids except of the dhtmlxgrid.js, I include the following:
dhtmlxgridcell.js
dhtmlxgrid_srnd.js
dhtmlxgrid_excell_cntr.js
dhtmlxgrid_splt.js
dhtmlxgrid_filter.js

Configuration error: edn: incorrect cell type !

mygrid_.setNumberFormat is not a function
and
mygrid_.attachFooter is not a function

The cell types are:
_cols="ro,ro,ro,edn,ro,ro,ro,ron";
and the statement is:
mygrid_.setNumberFormat("000.00",mygrid_.getColIndexById('SOME'));

Please, have any ideas why these errors?
Thanks,
JL
Answer posted by Support on Jan 22, 2009 05:25
Somehow you have switched to standard edition of grid, which doesn't support number-format and footers.
Double check used script links and js files 
Answer posted by John Lagos on Jan 22, 2009 06:17

Common is: v.2.0 build 81009

Grid and others are of: v.2.0 build 81107

 

Sorry for the trouble but I did'n make any updates, and thanks,

JL

Answer posted by Support on Jan 22, 2009 06:27
The error which you mentioned may occur only if you are using standard version of dhtmlxgrid, instead of pro files. 

The header of dhtmlxgrid.js PRO 
//v.2.0 build 81107

/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
To use this component please contact sales@dhtmlx.com to obtain license
*/
 
The header of dhtmlxgrid.js standard
//v.2.0 build 81107

/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
You allowed to use this component or parts of it under GPL terms
To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
*/

 

Answer posted on Jan 22, 2009 06:51

 

This is my situation for the downloaded PRO:

Common:

//v.2.0 build 81009

/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
To use this component please contact sales@dhtmlx.com to obtain license
*/

 

GRID:

//v.2.0 build 81107

/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
To use this component please contact sales@dhtmlx.com to obtain license
*/

 

Thanks,

JL

Answer posted by Support on Jan 22, 2009 08:11
In such case you must not have such error as 

>>mygrid_.setNumberFormat is not a function 
>>mygrid_.attachFooter is not a function

Please be sure that old version of js file is not cached and path points to the same js code which you has checked

Answer posted by John Lagos on Jan 23, 2009 04:41

Despert...

I don't know what else to do for this problem.

Paths are OK, FireBug shows the cntent of the included files, and they are of the PRO version.

 Cache is a question for me, but I clear it from the Firefox tools a lot of times.

What else to check to avoid this error of undefinig functions?

 

Thanks,

JL

Answer posted by John Lagos on Jan 23, 2009 05:41

To a further investigation, I realize that the only problem is of the cell type edn or ron.

Because these types are not accepted, any related function to these types is undefined.

Please can tell me which file(s) related to cell types, in order to try a replacement or what else?

Thanks,

JL

Answer posted by Support on Jan 23, 2009 09:09
Latest version of related js files sent by email, please try to use them instead of existing js files. . 
Answer posted by woowon on Feb 09, 2009 13:26

Hi,

I'm in a same situation.

My common js file version is 81109.
but Gid vsersion is 81107.
I didn't change any thing and I got same error.
Can you email me with the new version?

Thanks.

Answer posted by dhxSupport on Feb 10, 2009 09:15
Please contact us directly at support@dhtmlx.com and provide your reference number - we will send you latest js file