Hi Lim,
Please try the code below in the CellClick event of the grid, to get this working as desired.
int index = 0;
private void gridDataBoundGrid1_CellClick(object sender, GridCellClickEventArgs e)
{
GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
if(!this.gridDataBoundGrid1.Model[e.RowIndex, e.ColIndex].Enabled)
{
for(int i = 1; i <= this.gridDataBoundGrid1.Model.ColCount ; i++)
{
if(this.gridDataBoundGrid1.Model[e.RowIndex, i].Enabled == true)
index = i;
break;
}
this.gridDataBoundGrid1.CurrentCell.MoveTo(e.RowIndex, index);
}
}
Let me know if you need any further assistance.
Regards,
Rajagopal