Hi,
I notice an issue with the code below and I tested it on https://www.smartclient.com/smartcli...=customEditors.
The read only criteria not apply at initial edit.
Is this a bug?
I notice an issue with the code below and I tested it on https://www.smartclient.com/smartcli...=customEditors.
The read only criteria not apply at initial edit.
Is this a bug?
Code:
isc.ListGrid.create({ ID: "countryList", width: 620, height: 224, alternateRecordStyles: true, cellHeight: 42, wrapCells: true, dataSource: countryDS, fields: [ { name: "countryName", width: 100 }, { name: "government", width: 175, editorType: "TextAreaItem", editorProperties: { height: 40 }, }, { name: "population", width: 100, editorType: "SpinnerItem" }, { name: "independence", width: 225, editorProperties: { readOnlyDisplay: "static", readOnlyWhen: { _constructor: 'AdvancedCriteria', operator: 'and', criteria: [ { fieldName: 'population', operator: 'greaterThan', value: 1000000 } ] }, }, }, ], autoFetchData: true, canEdit: true, editEvent: "click", });
Comment