how to add row grouping with checkbox

how to add row grouping with checkbox

gnanaolignanaoli Posts: 13Questions: 6Answers: 0
edited May 2017 in Free community support

how to add row grouping with checkbox.and check group header all group item are checked.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,331Questions: 1Answers: 10,436 Site admin
    Answer ✓

    Are you using the RowGroup extension and each row has a checkbox in it? You then want to have the grouping row display a checkbox that will check / uncheck all of the rows in the group?

    There isn't a built in feature for that, but you could use a custom renderer for the grouping row (rowGroup.startRender) to add the checkbox into it and a custom event to bind a listener for it.

    Allan

  • gnanaolignanaoli Posts: 13Questions: 6Answers: 0
    edited May 2017

    I need above image model..and add row header with checkbox.check row header checkbox that group item all are selected.otherwise select indivdually.

    Sent example Link

  • fkomecoglufkomecoglu Posts: 1Questions: 0Answers: 0

    did any solution ?

  • allanallan Posts: 63,331Questions: 1Answers: 10,436 Site admin

    There isn't something like this built into to either DataTables, Select or the RowGroup extensions (they don't provide grouping options for checkbox selection).

    That is something I hope to introduce in future.

    Allan

This discussion has been closed.