Dirk Köhler
08.03.2012
-
I had to look for both of those as well.
The Serverview is readonly but if like me you want the columns not to be editable set options.editing on false for each column.
I found no editing property on view level.About getting the id i used something like:
ID := <View>.DataController.Values[<View>.DataController.FocusedRowIndex,<columnwithidfield>.Index];Example:
ID := cxGrid1ServerModeTableView1.DataController.Values[cxGrid1ServerModeTableView1.DataController.FocusedRowIndex,
cxGrid1ServerModeTableView1SA_ID.Index]; -
Thank you very much.
Is there any disadvantage in using my method to get the FieldValue compared to yours?
-
Both these approaches are correct, and I see no problems with using them.
You must
log in
or
register
to leave comments
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+