Paul, to say it correctly, you do not suppress the event, but you cancel the action this event is related to (current row change).
Many of the iGrid events has the DoDefault parameter you canuse to prohibit the action related to the event, and CurRowChangeRequest is not an exclusion. Here is a sample that demonstrates how to limit the ability to select any rows of iGrid except the first two ones:
void iGrid1_CurRowChangeRequest(object sender, iGCurRowChangeRequestEventArgs e)
{
if (e.RowIndex > 1)
e.DoDefault = false;
}
Edited by user
2014-11-26T14:49:40Z
|
Reason: Igor/10Tec added code formatting