Expanding Row causes grid with enableAutoHeight to display scrollbar instead of expanding
… it happens with this code. Maybe some kind of redrawing is required… can you help ?
With latest version of code, the height of grid correctly changed after expanding | collapsing of sub row.
You can try to add next line to resolve issue
grid_4957.attachEvent(“onRowSelect”,function(id){
grid_4957._collapsMonolite();
grid_4957.cells(id,0).open();
grid_4957.setSizes();
return true;
});
I am using build v.1.5 build 80319 and excell_sub_row I got from You yestarday (fixing safari issue with expanding rows).
Tests are made on FF and IE7. The funny thing is it happens only if row is expanded for the first time (loaded by ajax).
Probably grid calculates the size based on that "loading" string and after content is loaded it doesn't recalculate height again.
That is why if i close this particular row and open it again, then it renders correctly.
Your solution deosn't help (probably because it is triggered too early).
Issue confirmed, updated version of dhtmlxgrid_excell_sub_row.js attached
dhtmlxgrid_excell_sub_row.zip (2.28 KB)
Grr8!
It works ! What is more I’ve recently reported some weird behaviour in Safari (during expanding rows), that You were not able to recreate, and it is gone as well! Good job!