We are able to setEditable in <column>
in <dataGrid>
in Descriptor. Eg ,
<dataGrid columnReorderingAllowed="true" dataContainer="datasetDetailDc" id="datasetDetailTable" width="100%">
<columns>
<column header="msg://field" property="field.fldNm" editable="false"/>
<column header="msg:///value" property="datasetValue" editable="false"/>
<column header="msg://valid" property="vrfFlg" editable="false"/>
<column header="msg://newVal" key ="dynamicComponent" editable="false"/>
<column header="msg:///remarks" property="vrfRem" editable="false"/>
</columns>
</dataGrid>
The problem is that we are not able to setEditable programmatically in the controller.
datasetDetailTable.getAllColumns().forEach(e->{
e.setEditable(true);
});
It always complain that “Cannot resolve method ‘setEditable’ in ‘Column’”
Please have a look on it.
Thank you.