onDynXLS


I added a code similar to the below to my grid initialization :



grid.attachEvnet(“onDynXLS”,function(pos,count){
       dhtmlxAjax.post(“some.php?pos=”+pos+"&count="+count,“some=value”);  //or any other similar code
       return false;
})



(after grid.enableSmartRendering(true):wink:



However, the browser (IE7) fails on this command: ‘object does not support this property or method’



I have the professional edition and also included



<script src=“codebase/dhtmlxcommon.js”></script>



<script src=“codebase/dhtmlxgrid.js”></script>



<script src=“codebase/dhtmlxgridcell.js”></script>



<script src=“codebase/excells/dhtmlxgrid_excell_link.js”></script>



<script src=“codebase/ext/dhtmlxgrid_srnd.js”></script>



what am I missing?



(I need to use smart rendering as I have ~15K lines, and I need onDynXLS for using POST)



Thanks, Michal



Try to use attachEvent method instead of attachEvnet:


grid.attachEvent(“onDynXLS”,function(pos,count){ …