I am trying to get a DataGrid under CE 5.0 / .NET CF 2.0 that a user can edit. The document at http://msdn.microsoft.com/en-us/library/ms838165.aspx indicates that some environments do not support editing –
As there is no native support for editing in the DataGrid control, this needs to be implemented manually
Do I need to implement this ugly example – which doesn’t work very well as shown?
The documentation is not clear about which .NET features are available on which platform.
No, it is not directly editable. MSDN has samples for using the DataGrid, including suggestions for data editing, for both Pocket PC and Smartphone devices. Either one would be a reasonable start for a generic CE device, but the general strategy is to determine which cell is active and place a textbox over it for editing capability.
You might also look at Eric Hartwell’s extensions for the DataGrid as well as the CF datagrid on CodeProject.
Of course the usual suspects like Resco and ComponentOne also have commercial offerings.