HA
haneefm
Syncfusion Team
July 10, 2007 11:31 PM UTC
Hi Roman,
1. Can I make scrolling by PgUp/PgDown faster?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can try this code:
this.gridControl1.AccelerateScrolling = Syncfusion.Windows.Forms.AccelerateScrollingBehavior.Fast;
2. When I scroll back with arrow key selected row jumps from top to bottom. Is it possible to change behavior to normal - selected row on top?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can easily prevent a row from being selected using the SelectionChanging event, and cancelling it if ArrowKey is pressed in the selections. Below is a little snippet.
private void Model_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{
e.Cancel = (e.Reason == GridSelectionReason.ArrowKey);
}
Best regards,
Haneef