on 02-17-2010 4:53 PM
Hi,
I have a problem with iGrids. I want to have fixed column sizes, so I filled in the width for the columns in the Layout Configuration tab of the display template and I disabled the "Auto resize columns" checkbox. When I load this iGrid as an applet in my web page, indeed the column sizes are fixed according to the width parameters. But in my web script I also use a refresh button to update the iGrid with new data. The problem is that when I refresh, the column sizes are automatically resized to another width. Can someone help me how to solve this problem, cause it's really anoying for an end user to make the colums larger again each time they refresh the page.
Hi,
a not very nice solution would be to read out the colum width before refresh and setting them again afterwards (if possible from JS).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In Display Template Generel Tab , do you have unchecked Allow Column Resize check box.
In your JS you can also use below code:
document.GRIDAPP.getGridObject().setAllowColumnResize(false);
document.GRIDAPP.updateGrid(true);
-Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Scheers,
What version of MII are you using? Also, do you use iGrid.refresh() or iGrid.updateGrid(true)? Do they have the same result in your situation?
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.