Well, I finally figured that when I populate the Data Grid is when I should go and set various properties such as not editing.
I have a script on the card that contains the Data Grid.
That is where I make the calls to get data from the database to load the Data Grid.
So before those calls get made I put in place all the property modifications on the columns.
Code: Select all
local tRecords;
set the dgColumnIsEditable["clnID"] of group "fCondoList" to "false"
set the dgColumnIsEditable["clnCondo"] of group "fCondoList" to "false"
put condoSortedList() into tRecords;
set the dgText of group "fCondoList" to tRecords