Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jul 18, 2008 11:22
open dhtmlx forum
Rowspan Error

Hi, when I try to use rowspan functionality (    mygrid.enableRowspan(true);)
I get the error "Object doesnt't admit property...".

I've already included the line "<script src="dhtmlxgrid_rowspan.js"></script>

Any idea?

Regards...
Answer posted by Support on Jul 21, 2008 01:52
The only requirement for enableRowspan command is presense of dhtmlxgrid_rowspan.js. This command doesn't relate on grid state or other functionality ( it just attache necessary event handlers ) so it can be called safely in any moment of time.

Please be sure that dhtmlxgrid_rowspan.js is really included.
If problem still occurs for you - please provide any kind of sample where issue can be reconstructed ( you can send such sample directly to support@dhtmlx.com )
Answer posted on Jul 21, 2008 07:56
As I wrote, I've included the dhtmlxgrid_rowspan.js file ...

    <script  src="codebase/dhtmlxcommon.js"></script>
    <script  src="codebase/dhtmlxgrid.js"></script>
    <script  src="codebase/dhtmlxgrid_nxml.js"></script>
    <script  src="codebase/dhtmlxgridcell.js"></script>
    <script  src="codebase/dhtmlxgrid_rowspan.js"></script>

I have no problems with other functionalities. Could you send me a working sample, so I can test it locally?

ascornejo@hotmail.com
Thanks



Answer posted on Jul 21, 2008 08:41

If I include the "dhtmlxgrid_rowspan.js" the error I receive is "D is not defined"

Could be the order of included the files?

Thanks.


Answer posted by Support on Jul 21, 2008 08:51
Working sample sent by email.
Answer posted by Alejandro on Jul 21, 2008 09:10
I didn't receive yet... Could you check the address?

scornejo@hotmail.com

Thanks again.
Answer posted by Support on Jul 22, 2008 03:19
If you still doesn't receive any email, please contact us directly at support@dhtmlx.com and provide your ref number.