Categories | Question details Back To List | ||
sub_row_grid AND enableAutoHeight problem - Solution included Hello! I found folowing issue in lates v.2.1 build 90226: PROBLEM DESCIPTION: When grid load sub_row_grid and is enabled the first click on "+" will expand sub_grid, bud the main grid size is broken (scrollers will be showed). STEPS TO REPRODUCE: Enable enableAutoHeight in pro_subgrids.html sample FIX: in: dhtmlxgrid_excell_sub_row.js line 212: if (that.parentGrid) {that.callEvent("onGridReconstructed",[]); td._sub_grid.parentGrid.setSizes(); td._sub_grid.parentGrid.setSizes() } Answer posted by Support on Apr 07, 2009 02:25 Problem confirmed , we will add some kind of fix, to the next version of grid ( thanks for suggested solution ) By the way, behavior can be corrected without code modification, just add the next line to the grid's init for sub-grids Answer posted by ez on Apr 07, 2009 03:50 And another thing: Try attach footer to sub_row_grid, this will broke size of grid, and suggested fix will not work in this case. Answer posted by dhxSupport on Apr 08, 2009 08:52 This bug confirmed and fixed. Fixed file will be send you by email Answer posted by ez on Apr 09, 2009 01:19 Fix works Answer posted by Spindisc on Apr 22, 2009 13:23 Hi, Where can we get this fix? Answer posted by dhxSupport on Apr 23, 2009 03:43 >>Where can we get this fix Please contact support@dhtmlx.com and provide your ref ID and we will send you fixed file |