|
Rank: Newbie Groups: Member
Joined: 9/11/2007 Posts: 8
|
Hi,
I have a grid on a page and a menu with menuitems which are the grid's column names. One can add/remove a grid column by checking/unchecking the column name in the menu.
When one clicks on a column name in the menu, the following javascript is executed (grid is global) :
function onColumnMenuClick(e, eventInfo) { var item = eventInfo.getItem(); if(item.getLevel() > 0) { item.setChecked(!item.getChecked()); grid.getColumn(item.getText()).setVisible(item.getChecked()); } }
this works fine until the user reorders some columns. After reordering columns, the setVisible call has no effect.
Thanks. Laurent.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have confirmed this to be a bug. We will fix it and provide you an update build as soon as possible.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 9/11/2007 Posts: 8
|
Thank you for your replying so quickly.
I also noticed that when you have set a grid column invisible and you want to reorder columns, the separators that are highlighted to mark the possible new position of the reordered column are the old separators, the one before making the column invisible.
You can have it tested with a grid whose columns have different widths. Set one of the columns invisible and try to reorder another column.
Thanks, Laurent.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Thank you very much for this additional information. We will verify it and hopefully can fix it along with the original problem.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that should fix both issues. Please see your private message for download location.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 5/15/2009 Posts: 33
|
Could I get this new build that fixes the issue.
Thank you, Mona
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Mona,
Please see your private message for download location.
Thanks!
|
|