GridGroupingControl: Jump to Row

Hi,

I'm trying to have my application using GGC to it jump to a particular.

i.e. - I have a 100 records. The visible records are from 1-10. I want the first visible records to be 50.

What do I need to call on the GGC to go to a specified row?

3 Replies

GM Gowri Manohari D Syncfusion Team October 16, 2009 06:34 AM UTC

Hi Jason,

Thank you for choosing Syncfusion Products.

Currently Grid control does not support to set the focus to particular row. But we can achieve your requirement indirectly by using "Paging" functionality of the Grid.

For more details about "Paging" please refer the below online sample. It will helps you out.

http://samples.syncfusion.com/ASPNET/7.3.0.20/web/Grid.Grouping.Web/samples/3.5/Paging/SimplePaging/cs/ggcwithgridpager.aspx

Regards,
Gowri


JL Jason Lui October 16, 2009 07:30 PM UTC

For those looking at the post, I did find a way to achieve this. If you are able to find the record in the GGC, all you need to do is call SetTopRow() on the table control. Example is the following code:

int gridIndex = someRecord.GetRowIndex();
someGCCTable.TableControl.SetTopRow(gridIndex);

Hope it helps others out there.


GM Gowri Manohari D Syncfusion Team October 20, 2009 06:43 AM UTC

Hi Jason,

We are very glad to hear about your problem is getting solved. And this query is related to Windows form. The property which you have mentioned does not support in Web.

Thank you for the update.

Regards,
Gowri

Loader.
Up arrow icon