Categories | Question details Back To List | ||||||||||||||||||||||||||
HTML Hi, In the version 1.6 of the Grid there is the use of SmartRendering??? How??? Best regards, CHW Answer posted by Support on May 23, 2008 02:46 The SmartRendering works in this version basically the same as in version 1.5 Same as in 1.5 you need Answer posted by CHW on May 23, 2008 08:36 With the use of the dhtmlXGridFromTable? Regards CHW Answer posted by Support on May 23, 2008 09:27 It possible starting from 1.6 a) height of grid must be fixed b) smartRendering mode need to be enabled through onbeforeinit attribute Please check attached sample. Attachments (1)
Answer posted by CHW on May 26, 2008 10:46 Hi, Thanks. But some exist problems: If I use: dragAndDrop="myDragHandlerGrid" <CENTER><TABLE id="gridbox" name="mygrid" class="dhtmlxGrid" dragAndDrop="myDragHandlerGrid" onbeforeinit="mygrid.enableSmartRendering(true);" gridHeight='425px' CELLSPACING=0 CELLPADDING=1 VALIGN=CENTER BGCOLOR=#FFFFFF BORDERCOLOR=#010000 BORDER=1 style="visibility:hidden;"> It happens mistake in the dhtmlxgrid_start.js, line: if (drag) windowf.enableDragAndDrop(true); ->Object doesn't support this property or method If I remove: dragAndDrop="myDragHandlerGrid", OK in IE If I remove: dragAndDrop="myDragHandlerGrid" and to put: function doOnLoad(){ mygrid = new dhtmlXGridFromTable('gridbox'); mygrid.attachEvent("dragAndDrop",myDragHandlerGrid); mygrid.enableDragAndDrop(true); -> Object doesn't support this property or method The enclosed sample is based on his sample. He works in IE but in very different way in FF. Note: / / in the line: mygrid.enableDragAndDrop(true); and no put: dragAndDrop="myDragHandlerGrid". Best regards. CHW Attachments (1)
Answer posted by Support on May 27, 2008 01:29 To work with d-n-d you need to include codebase/ext/dhtmlxgrid_drag.js Answer posted by CHW on May 27, 2008 16:05 Hi, Ok, forgives me my error. But continuing the implantation of its new version: You it will be able to see the execution normal, in the previous version, my site of test. In the address: Other problems exist some in dhtmlxTree. Best regards, CHW
Attachments (1)
Answer posted by Support on May 28, 2008 01:53 Colspan feature available only in pro version of grid. The sample, attached to your post contains standard version of grid, which not supports such feature. Answer posted by Support on May 29, 2008 05:30 Problem caused by complex content inside HTML table. Please try to use attached js file instead of original one - with it all must work correctly. Attachments (1)
|