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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Moving scroll bars down to a selected row.

Thread ID:

Created:

Updated:

Platform:

Replies:

27425 Apr 12,2005 04:27 PM UTC Apr 15,2005 12:17 PM UTC WinForms 7
loading
Tags: Grouping
Anthony Avella
Asked On April 12, 2005 04:27 PM UTC

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

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

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 04:44 PM UTC

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 05:32 PM UTC

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 03:43 PM UTC

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 07:43 PM UTC

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 09:04 PM UTC

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 12:17 PM UTC

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.

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

;