Hi All,
I have made ultra grid's column non editable, now I want to make cell editable of selected row only.
I have used the following code to to meke column non editable
{
}
By the above code Column[10] is become non editable.
Now I want to make cell editable of column[10] of a particular row.
for eg;- when I click on cell[9] of first row than only cell[10] of first row becomes editable, not the whole column
how would I do this.
In short, I want to make particular cell editable not the whole column
Please help.
Thanks
Swapnil
Hello ,
I have test the code snipped and it works, please see attached sample, please double click of the DependEditable’s cell in order to edit the cell value.
Thank you contacting us for this question.
Hi,
I understand, this post is very old :( But do you recollect if this worked for you?
Renu
Hi Swapnil,
You could give this a try:
private void ultraGrid1_BeforeCellActivate(object sender, CancelableCellEventArgs e)
// Check if this is the trigger column.
if(e.Cell.Column.Index == 9)
// Allow cell to ignore activation settings.
ultraGrid1.ActiveRow.Cells[10].IgnoreRowColActivation = true;
private void ultraGrid1_BeforeRowDeactivate(object sender, CancelEventArgs e)
// Reset the activation rules before moving to another row.
ultraGrid1.ActiveRow.Cells[10].IgnoreRowColActivation = false;
Andy.