Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Reset selection start point
posted

In a grid with extended row selecting type I can select some rows pressing shift key. It selects rows from a start point to the row clicked. How can I reset or change this start row?

I want to change this start point to activerow.

Thanks.

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    You can change the "start row" you desribe here by casting the grid to an Infragistics.Win.ISelectionManager implementation, and calling the SetPivotItem method directly.

    Example:

    UltraGridRow pivotRow = this.ultraGrid1.ActiveRow;
    ISelectionManager selectionManager = this.ultraGrid1 as ISelectionManager;
    selectionManager.SetPivotItem( pivotRow );

Children
No Data