Hi,
In the version 1.6 of the Grid there is the use of SmartRendering??? How???
Best regards,
CHW
The SmartRendering works in this version basically the same as in version 1.5
Same as in 1.5 you need
a) include codebase/ext/dhtmlxgrid_srnd.js
b) use next command grid.enableSmartRendering(true);
With the use of the dhtmlXGridFromTable?
Regards
CHW
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.
1211560602.zip (50.4 KB)
Hi,
Thanks.
But some exist problems:
If I use: dragAndDrop=“myDragHandlerGrid”
<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
Test2.zip (2.94 KB)
To work with d-n-d you need to include
codebase/ext/dhtmlxgrid_drag.js
Hi,
Ok, forgives me my error.
But continuing the implantation of its new version:
It follows new example:
It is not functioning colspan and rowspan.
If activated setSkin → XP occurs problems when we roll the screen.
You it will be able to see the execution normal, in the previous version, my site of test. In the address:
envision.com.br/VerumWEB20/
Forgives me but the help and metadata in Portuguese, for the time being.
You must choose the option:: “Mensal por categorias e clientes” (�Monthly for categories and customers�) in “Faturamento” (�Invoicing�).
Other problems exist some in dhtmlxTree.
But it is subject for new questions.
Best regards,
CHW
Question.zip (63.2 KB)
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.
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.
dhtmlxgrid_start.zip (1.73 KB)