Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
13845 | May 12,2004 10:56 AM UTC | May 12,2004 06:02 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
//subscribe to the event somewhere this.gridDataBoundGrid1.Model.SelectionChanging += new GridSelectionChangingEventHandler(Model_SelectionChanging); //the handler private void Model_SelectionChanging(object sender, GridSelectionChangingEventArgs e) { if(e.Range.IsEmpty) { if(this.gridDataBoundGrid1.Selections.Ranges.AnyRangeIntersects(e.ClickRange)) e.Cancel = true; } }
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.
This page will automatically be redirected to the sign-in page in 10 seconds.