Hi,
I'm using version 10.2. I have a grid where some of the rows need to be disabled because we don't want the user to be able to select those rows, but still want them to see the information. Is there a property that turns off selection (highlighting) of the disabled row or an event I can programmatically do this?
thanks
Mario
Hi Mario,
You can do something like this:
private void ultraGrid1_BeforeSelectChange(object sender, BeforeSelectChangeEventArgs e) { foreach (UltraGridRow row in e.NewSelections.Rows) { if (row.Activation == Activation.Disabled) { e.Cancel = true; break; } } }
Hi Mike,
That's perfect!
Thank you