Hi Nhilesh,
Thanks for your interest in Syncfusion Products.
Please try the code below in the CurrentCellValidateString event that gets fired for every key stroke, where you can valiadate the text that is enetered.
void gridControl1_CurrentCellValidateString(object sender, GridCurrentCellValidateStringEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
if (cc.ColIndex == 5 || cc.ColIndex == 7 )
{
double d;
if(!double.TryParse(e.Text, out d))
e.Cancel = true;
}
}
Let me know if this helps.
Have a nice time.
Regards,
Rajagopal