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

Moving rowheader arrow programatically

Thread ID:

Created:

Updated:

Platform:

Replies:

16578 Jul 20,2004 10:55 AM UTC Jul 20,2004 05:48 PM UTC Windows Forms 2
loading
Tags: GridControl
Doug Lind
Asked On July 20, 2004 10:55 AM UTC

How do you move the row header arrow programmatically in a GDBG, without changing currently selected rows? Also, could you explain what the row header arrow is indicating? When I select rows from code, the arrow always stays at its last position. FYI I''m still using V1.6* Thanks, Doug

Administrator [Syncfusion]
Replied On July 20, 2004 12:54 PM UTC

The arrow points to the position in the CurrencyManager object for the bindingcontext of the grid. So code like this would be one way to set it. CurrencyManager cm = (CurrencyManager)this.grid.BindingContext[this.grid.DataSource, this.grid.DataMember]; cm.Position = someZeroBasedValue; Another way is to set the grid.Binder.CurrentPosition property.

Doug Lind
Replied On July 20, 2004 05:48 PM UTC

Thanks Clay, It worked well! >The arrow points to the position in the CurrencyManager object for the bindingcontext of the grid. So code like this would be one way to set it. > >CurrencyManager cm = (CurrencyManager)this.grid.BindingContext[this.grid.DataSource, this.grid.DataMember]; >cm.Position = someZeroBasedValue; > > >Another way is to set the grid.Binder.CurrentPosition property.

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

;