Hi, I would like to know, is there a way of dynamically changing the label for the checkbox based on whether it is being selected or not?
I followed this Tutorial for implementing the checkbox with label : https://handsontable.com/docs/8.2.0/demo-checkbox.html
Example:
{
data: 'comesInBlack',
type: 'checkbox',
checkedTemplate: 'yes',
uncheckedTemplate: 'no',
label: {
position: 'before',
value: 'In black? '
},
},
In the above configuration is it possible to set ‘In black’ when selected and ‘Not in black’ when the checkbox is not selected?
Thanks