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.

Moving scroll bars down to a selected row.

Thread ID:

Created:

Updated:

Platform:

Replies:

27425 Apr 12,2005 12:27 PM Apr 15,2005 08:17 AM Windows Forms 7
loading
Tags: Grouping
Anthony Avella
Asked On April 12, 2005 12:27 PM

How can I access the GridControlBase version of the ScrollCellInView function?

Anthony Avella
Replied On April 12, 2005 12:44 PM

Sorry - I hit the post button by accident... The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. thanks. >How can I access the GridControlBase version of the ScrollCellInView function? >

Anthony Avella
Replied On April 12, 2005 12:44 PM

Sorry - I hit the post button by accident... The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. thanks. >How can I access the GridControlBase version of the ScrollCellInView function? >

Administrator [Syncfusion]
Replied On April 12, 2005 01:32 PM

Hi Anthony. try grid.TableControl.ScrollInView(el); with el being the Element, e.g your Summary Stefan >Sorry - I hit the post button by accident... >The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. > >In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. > >thanks. > >>How can I access the GridControlBase version of the ScrollCellInView function? >>

Anthony Avella
Replied On April 13, 2005 11:43 AM

That works great. I have another question... Once I scroll to a group, I may need to further scroll to a detail record belonging to that group. How can I do this? Thanks. >Hi Anthony. > >try >grid.TableControl.ScrollInView(el); > >with el being the Element, e.g your Summary > >Stefan > > > >>Sorry - I hit the post button by accident... >>The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. >> >>In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. >> >>thanks. >> >>>How can I access the GridControlBase version of the ScrollCellInView function? >>>

Anthony Avella
Replied On April 14, 2005 03:43 PM

Hi, Any status on this question? thanks >That works great. > >I have another question... > >Once I scroll to a group, I may need to further scroll to a detail record belonging to that group. How can I do this? > >Thanks. > > >>Hi Anthony. >> >>try >>grid.TableControl.ScrollInView(el); >> >>with el being the Element, e.g your Summary >> >>Stefan >> >> >> >>>Sorry - I hit the post button by accident... >>>The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. >>> >>>In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. >>> >>>thanks. >>> >>>>How can I access the GridControlBase version of the ScrollCellInView function? >>>>

Administrator [Syncfusion]
Replied On April 14, 2005 05:04 PM

Hi Anthony, the following code should do this: if (el is CaptionRow) el = el.ParentGroup.GetFirstRecord(); grid.TableControl.ScrollInView(el); Stefan >Hi, >Any status on this question? > >thanks > >>That works great. >> >>I have another question... >> >>Once I scroll to a group, I may need to further scroll to a detail record belonging to that group. How can I do this? >> >>Thanks. >> >> >>>Hi Anthony. >>> >>>try >>>grid.TableControl.ScrollInView(el); >>> >>>with el being the Element, e.g your Summary >>> >>>Stefan >>> >>> >>> >>>>Sorry - I hit the post button by accident... >>>>The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. >>>> >>>>In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. >>>> >>>>thanks. >>>> >>>>>How can I access the GridControlBase version of the ScrollCellInView function? >>>>>

Anthony Avella
Replied On April 15, 2005 08:17 AM

Mille Grazie!! >Hi Anthony, > >the following code should do this: > > >if (el is CaptionRow) >el = el.ParentGroup.GetFirstRecord(); >grid.TableControl.ScrollInView(el); > > >Stefan >>Hi, >>Any status on this question? >> >>thanks >> >>>That works great. >>> >>>I have another question... >>> >>>Once I scroll to a group, I may need to further scroll to a detail record belonging to that group. How can I do this? >>> >>>Thanks. >>> >>> >>>>Hi Anthony. >>>> >>>>try >>>>grid.TableControl.ScrollInView(el); >>>> >>>>with el being the Element, e.g your Summary >>>> >>>>Stefan >>>> >>>> >>>> >>>>>Sorry - I hit the post button by accident... >>>>>The only version I can access is from the TableModel which only takes a GridRangeInfo as a parameter. >>>>> >>>>>In the end, I''d like to move the grid''s scroll bars down to where I find a desired summary or detail row. >>>>> >>>>>thanks. >>>>> >>>>>>How can I access the GridControlBase version of the ScrollCellInView function? >>>>>>

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.

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.

;