May 08, 2013, 8:19 PM
[OPEN] [#236] [2.2] Bug on RowExpander
See screenshot:
The rowexpander cell has 1 colspan less than the necessary to fill the datagrid (which also has a CheckBoxSelection plugin, but I don't know if this have some influence on this bug).
I've notice the following code on RowExpander.js (near line 242):
With the bug, in the last screenshot, the rowexpander html would have width = to the first two columns (which represents about 20% of total width, because the last column is ignored in the colspan setting)
The rowexpander cell has 1 colspan less than the necessary to fill the datagrid (which also has a CheckBoxSelection plugin, but I don't know if this have some influence on this bug).
I've notice the following code on RowExpander.js (near line 242):
// If we are lockable, the expander column is moved into the locked side, so we don't have to span it
if (!me.grid.ownerLockable) {
rowValues.rowBodyColspan = rowValues.view.getGridColumns().length - 1;
}
If I change the .length - 1 to .length, the problem is fixed (of course, updating also extnet-all-debug.js and extnet-all.js):With the bug, in the last screenshot, the rowexpander html would have width = to the first two columns (which represents about 20% of total width, because the last column is ignored in the colspan setting)
Last edited by Daniil; May 09, 2013 at 5:18 AM.
Reason: [OPEN] [#236]