I want to create a checkbox column in a table. I decided to go with an embedded view as I saw in this post but I am running into an issue. As soon as I bind the checkbox Selected property to view.params.value.show I get this error:
Some more context below:
Checkbox view params:
Checkbox view checkbox binding:
Table column properties:
The logic in implementing this is confusing me, but maybe it's a naming issue.
If you're binding Checkbox.props.selected
to a show
param inside value
like your binding dialog suggests, then each entry in your data needs to contain a boolean (ish) column entry show
show | low | high
False | 2 | 5
True | 3 | 4
False | 4 | 6
With that column now present in your data, you should just have a param named value
which is of value type - not object - and bind your Checkbox against view.params.value
.
2 Likes
Thanks, the key I was missing was changing the param from
value: {
show: False
}
to
value: False
1 Like