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. Image for the cookie policy date

Moving rowheader arrow programatically

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

2 Replies

AD Administrator Syncfusion Team July 20, 2004 08:54 AM

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.


DL Doug Lind July 20, 2004 01:48 PM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon