Tabbing through editable cells only

Hi -
i have a lot of data with only a few columns containing editable cells. Is there a way that when the user tabs throught the grid i can have them skip the readonly only cells and only land on the editable ones?
I am using a GridControl, latest version, .Net 2.0
Thanks,
Julie

2 Replies

AD Administrator Syncfusion Team April 18, 2007 12:25 AM UTC

Instead of setting style.ReadOnly = true, try setting style.Enabled = false. This should prevent the particular cell from ever being the current cell.


this.gridControl1[2, 3].Enabled = false;
//this.gridControl1[2, 3].ReadOnly = true;


JL Julie Levy April 18, 2007 05:02 PM UTC

thanks!
This works great, much easier than trying to handle the MoveCurrentCellDirection event.

Loader.
Up arrow icon