|
Rank: Member Groups: Member
Joined: 1/29/2008 Posts: 17
|
Hi,
I have a problem where the column sorting does not work after handling a CellSelect event. If I sort before raising a CellSelect event the soring works fine
Running in VS 2008 Debug the following error is displayed when attempting to sort after the CellSelect event:
Microsoft JScript runtime error: 'm_curSelectedCellXY' is undefined
The error occurs in both my project and in the EO sample project under Grid>Features>Cell Selection.
I am running the latest build 5.0.54.2
Many Thnaks
Rory
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have confirmed that is a bug. We will get it fixed as soon as possible.
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that fixed this issue. Please see your private message for download location.
Thanks
|
|
Rank: Member Groups: Member
Joined: 1/29/2008 Posts: 17
|
Hi,
I have installed the latest build, and using the demo app the following is happening.
Select the "Cell Selection" feature, then sort any column, works as expected, now select a cell, works as expected, now sort a column again, the column sorts as expected, but the cell is still selected, firing off the ClientSideOnCellSelected event, not what I would expect.
Is this working correctly? If so how can I clear the Select cell to stop the event firing when sorting a column.
Many Thanks
Rory
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Rory,
This is the designed behavior. The Grid intentionally saves the current selected cell during sorting. In short, sorting does not affect selected cells. It also fires the event because while the selected cell is still the same, its index may have been changed. Thus it fires the event to give user code a chance to respond to that change.
Thanks
|
|
Rank: Member Groups: Member
Joined: 1/29/2008 Posts: 17
|
Hi, Thanks for the info, will have to work out a way to trap the change in the index to prevent my ClientSideOnCellSelected function from firing.
Regards
Rory
|
|
Rank: Member Groups: Member
Joined: 6/6/2007 Posts: 14
|
Hi EO
I am also having the same problem with sorting with the "m_curselectedcellxy" error appearing - how do i obtain the new build?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Selena,
The new build is already publicly available on our download page. Note this version is a new release, so if you have purchased a previous version, you will need to log into your account to download a new license key. If you have purchased 2007.2, license key for the new version should be free to you.
Thanks!
|
|