Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GridRowSelected disable one column
function gridRowSelected(context) {
context.getFormContext().getData().getEntity().attributes.forEach(function (attr) {
if (attr.getName() === "odx_monthid") {
attr.controls.forEach(function (c) {
c.setDisabled(true);
})
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment