Skip to Content
avatar image
Former Member

How to add icons/checkboxes to the first column in TreeTable?

Hi,

I have this TreeTable:

http://jsbin.com/gobogihezu/1/edit?html,output

As you can see in the example, I only define one column while the the other is created automatically by the control.

Is there any way I can add checkboxes to this column that is used for selecting rows? (expected result in the picture below).

check.png (6.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 03, 2015 at 09:00 PM

    According to the documentation, a TreeTable

    [...] provides the same functionality as the Table control and adds the possibility for an hierachical tree view in the first column.


    (emphasis mine)

    So the first column will always be the expandable tree item. But you can of course make the TreeTable multiselect, which has the same effect as checkboxes

    Add comment
    10|10000 characters needed characters exceeded