Hi,
How to restrict checkboxes for some rows based on conditions ?
Support Forum
See the snippet in the docs: https://bryntum.com/docs/scheduler/api/Grid/column/CheckColumn
new Grid({
appendTo : document.body,
columns : [
{
type: 'check',
field: 'allow',
// In the column renderer, we get access to the record and CheckBox widget
renderer({ record, widgets }) {
// Hide checkboxes in certain rows
widgets[0].hidden = record.readOnly;
}
}
]
});