Focus at Disabled Column

hi all,

How to set Focus to the disabled cell in datagrid.

any solution pls.

Regards

Leema

1 Reply

AD Administrator Syncfusion Team January 22, 2007 04:54 PM UTC

Hi Leema,

To handle this problem, instead of trying to move from the current cell to the disable cell , try move from the currentcell to any enabe cell using MoveTo call with GridSetCurrentCellOptions.SetFocus and set a flag there and remember where you want to MoveTo. Then in CurrentCellActivating, test this flag, and if it is set, change e.RowIndex and e.ColIndex to where you want to go.

Please refer to the attached sample for more details.
GCmoveTo.zip

Best Regards,
Haneef

Loader.
Up arrow icon