We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC row selection

Thread ID:

Created:

Updated:

Platform:

Replies:

79354 Feb 3,2009 03:00 PM UTC Feb 4,2009 09:35 AM UTC WinForms 1
loading
Tags: GridControl
Pravin Patel
Asked On February 3, 2009 03:00 PM UTC

HI,

I am using GGC(4.201.0.37) on winform (without any column in Group group drop area), with 20 visible rows and actual rows @100+.

For the very first time ONLY, without any click on grid, if rows are scrolled down to say 50th actual row but 10th visible in grid and then click on any cell in that row to select this row makes it scroll back to the actual 10th row. But from this point onwards if rows are scrolled to any position down and then click on the cell to select that row it works fine.

I tried in gridGroups_TableControlCellClick() function to get index by this.gridGroups.TableControl.Model.CurrentCellInfo.RowIndex for very first time it gives 10 (as visible 10 even though actual may be 50th) second time around it's corret.

Pravin


Rajadurai C [Syncfusion]
Replied On February 4, 2009 09:35 AM UTC

Hi Pravin,

Thanks for your interest in Syncfusion products.

I couldn't reproduce this issue in our side. However, it seems from your update that the issue is due to unrefresh of grid. As a workaround, please try handling TableControlVScrollPixelPosChanged event with the following code.

this.gridGroupingControl1.TableControlVScrollPixelPosChanged += new GridTableControlScrollPositionChangedEventHandler(gridGroupingControl1_TableControlVScrollPixelPosChanged);

void gridGroupingControl1_TableControlVScrollPixelPosChanged(object sender, GridTableControlScrollPositionChangedEventArgs e)
{
GridTableControl tc = e.TableControl as GridTableControl;
tc.Refresh();
}


Regards,
Rajadurai


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;