Grid - how to create column with chekboxes


#1

Hello,
I’m trying to add a column with checkboxes to my grid (to allow the user to select multiple rows) but checkboxes don’t show. Here is what I tried :
{"width":50,"id":"ch","editorType":"checkbox","header":[{"text":"selection"},{"content":"checkbox"}]}
And I’m using grid.data.load() to load the dataset.
Thanks in advance for your help :slight_smile:


#2

I found the answer : i just missed adding :
'type': 'boolean'
instead of
'editorType':'checkbox'
and
editable: true
in the grid settings !