Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by SFGolfer on May 04, 2009 07:10
open dhtmlx forum
CNTR does not reset after column sorting in IE

I am using CNTR for the first column and have included dhtmlxgrid_excell_cntr.js.

All is well except that the CNTR column does not renumber itself in IE after a column is sorted.

Further, the up/down arrows do not appear. The sorting itself still functions but the up/down arrows do not appear and the CNTR column does not reset.

--

IE displays this error:

Message: 'this.rowsAr[...].cells[...]' is null or not an object
Line: 13
Char: 154
Code: 0
URI: http://../excells/dhtmlxgrid_excell_cntr.js


Message: 'this.rowsAr[...].cells[...]' is null or not an object
Line: 13
Char: 154
Code: 0
URI: http://../excells/dhtmlxgrid_excell_cntr.js

--

I have tried to these but neither worked:

mygrid.attachEvent("onAfterSorting",function(){
mygrid.resetCounter(0);
return true;
});
mygrid.attachEvent("onGridReconstructed",function(){
mygrid.resetCounter(0);
return true;
})

--

This issue seems limited to IE6, IE7 and IE8. The other browsers are not affected: FF, Chrome, Opera.

Answer posted by Alex (support) on May 04, 2009 08:27

The issue wasn't reproduced with teh latest grid version. Please, take a look at the sample http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_excell_cntr.html

If issue still persists, please provide the sample that reproduces it.

Answer posted by SFGolfer on May 04, 2009 16:43

I traced the issue to smart rendering being on.  Disabling it resolved the IE issue.

Is smart rendering available only in the professional version?

Answer posted by dhxSupport on May 05, 2009 01:58
This bug was confirmed and fixed. Fixed file will be send you by e-mail
Answer posted by KlaF on Jun 23, 2009 06:54
I've the same problem (purchased the Enterprise version on 12th March) how do i also get this update?
Answer posted by KlaF on Jun 23, 2009 06:58
sorry ... buyed the version on 12th May not March...
Answer posted by dhxSupport on Jun 23, 2009 07:06
Please contact support@dhtmlx.com and provide your ref. ID