Welcome Guest Search | Active Topics | Sign In | Register

EO Grid Sort not working after Cell select Options
Rory
Posted: Tuesday, May 27, 2008 9:36:03 PM
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
eo_support
Posted: Wednesday, May 28, 2008 4:12:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

We have confirmed that is a bug. We will get it fixed as soon as possible.

Thanks
eo_support
Posted: Thursday, May 29, 2008 6:44:33 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

We have posted a new build that fixed this issue. Please see your private message for download location.

Thanks
Rory
Posted: Thursday, May 29, 2008 6:58:09 PM
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
eo_support
Posted: Thursday, May 29, 2008 7:07:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
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
Rory
Posted: Thursday, May 29, 2008 7:17:44 PM
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
Selena
Posted: Wednesday, July 2, 2008 6:38:29 AM
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
eo_support
Posted: Wednesday, July 2, 2008 6:44:03 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.