Hi,
I’m making use of the grid (Version 1.6 build 80512).
In the grid i’ve set the column size to be 100.
Then i’ve set the functionalities,
mygrid.enableAutoWidth(true, 800);
mygrid.enableAutoHeight(true, 400);
Now when i have the grid with 4/5 columns i will be getting grid without any scrollbars.
In this grid the column size of the grids can be modified only if it is not the last column.
Example Grid:
| a | b | c | d | e | --> Header\Column of the grid
Now here in the above mentioned grid i can increase/decrease the size of the columns a/b/c and d without any problems. But when i try to increase/decrease the size of the last column i.e. ‘e’ it happens with lots of small intervals. We can only increase/decrease the size with in very small increment/decrements in size respectively at a time.
Is it the behavior of the grid or is there any problem with what i have done?
Is it the behavior of the grid or is there any problem with what i have done?
Actually it is expected behavior - grid allows resize only inside its own border, so you can’t resize grid out of its border ( which appears in case of last column )
This is normal scenario, when grid used without auto-width, but I agree, that in case of auto-width it may be not desired way of resizing.
If necessary we can provide “alternative” build of dhtmlxgrid, which will allow resize for last column out of grid borders. ( it was implemented as experimental solution, and while it seems stable, we not plan to include such functionality as part of main codebase). If you need such updated js file - please contact us directly at support@dhtmlx.com