Hi Fabio,
In our
current architecture client side validation is not possible . we have to
validate this on serve side event “CurrentRecordContextChange” . we have validated
for adding record .please refer the
Following code
snippe
private void GridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs
e)
{
if
(e.Action == CurrentRecordAction.EndEditComplete
&& val == false)
{
this.GridGroupingControl1.Table.LastChangedRecord.Delete();
this.GridGroupingControl1.Table.AddNewRecord.BeginEdit();
}
}
For your convenience , we have created sample and can be
downloaded from below link.
ColumnWidth-GridWeb.zip
Please let us know if you have any concerns.
Regards,
Yogesh R