I have an XtraGrid with ~500 rows in it. I can set the FocusedRowHandle to, say, row 245. But is there a method that will scroll that now-focused row into view if it's currently not visible?
DevExpress.XtraGrid.Views.Base.ColumnView vw;
vw = MyGrid.DefaultView as DevExpress.XtraGrid.Views.Base.ColumnView;
vw.FocusedRowHandle = 245;
Use the GridView.MakeRowVisible
method for this purpose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With