OK, there is a dgColumnIsEditable[] property.
Nowhere near enough information for a beginner, especially for DataGrid which has groups within groups within groups.....
I have been going through the DataGrid lessons and have not found the one that gets you to the point where I can change the actual properties of a particular column - specifically being able to turn off editing on a particular column.
Looking at the UI, it would seem that making sure that the "Lock Text" checkbox is clicked with the checkmark in it would do that.
But it does NOT.
So my steps:
Created a DataGrid that is a Table in a Card in a substack
Added a Column
Added a Column Behavior for that Column via the + button in the UI.
Went to back to Data Grid tab for that and clicked on Row Template...
I get the Editing Template window up and verify that Select Grouped is off in the Toolbar
Then I click on the name of the Column I see in the window and the Property Inspector says "group Row Template"
So then I click on Edit Group in the Toolbar
It switches to Stop Editing in the Toolbar
The property inspector window title switches to stack Data Grid Templates (with a long number)
Then I click on the column name in the Editing Template window - which I just noticed has a different title -- "Editing template (background "Row Template")
Then I click on the column name of the column I want to edit and the property inspector now says "group clnID" (clnID is the of the column)
So now I click "Edit Group" in the Toolbar, yet again!!!
and the property inspector window becomes USELESS!!
It says "stack Data Grid Template" and the "Editing template" window is now titled "background "clnID")
So I click on the column name in the Editing Template window again.
I then get the Property Inspector to be titled: field _ColumnData_ and if I click on the contents it says "clnID" which is the column I want to change the attributes of.
Under the Basic tab, "Lock Text" is checkmarked.
So it would seem that after all this, I have the properties of the COLUMN TITLE, sort of maybe.
Even though "Lock Text" is checkmarked, double clicking on a table cell in that column allows me to edit that column in any row.
If I set the "Disabled" property via this Property Inspector, it shows the entire column in Grey.
So clearly at this level, more than just the title row is being affected, but why?
How do I get down to the level of the rows themselves, NOT the title row?
That is where I want to set the Lock Text so that the column can't be edited. I do NOT want the column to be Grey.
I looked at the "Table" tab at this level. I don't see anything there that affects what I want (no idea what is going on there - don't care right now).
Oh, and by the way, while making this column Gray by checkmarking the Disabled box, that does not STOP editing. It just stops entering editing if you double click on that cell. If you double click on an adjacent cell and enter editing mode on that adjacent cell, typing shift tab will back you up to the "Disabled" cell and allow you to edit it. Same with typing return often enough to step through the columns of the row to get to the Disabled cell - you can still edit it.
So how to actually change the properties of the "data" rows?
Specifically, stopping editing?
Thanks for any help.