Datatable search not hide group rows

Datatable search not hide group rows

noomadnoomad Posts: 1Questions: 1Answers: 0
edited November 2014 in Free community support

I use the jquery.dataTables.js plugin. I have a lot of nested groups.

  • Main_group
    • Group_level_1
      • Group_level_2
        • Subgroup_1


        1. Value_1
        2. Value_2

        • Subgroup_2


        1. Value_1
        2. Value_2

        • Subgroup_3


        1. Value_1
        2. Value_2

When I search, all hidden except found value.

Find: Value_1 result:

  • Value_1
  • Value_1
  • Value_1

I need to group headers are not hidden. Hiden only the values of subgroup.

  • Main_group
    • Group_level_1
      • Group_level_2
        • Subgroup_1


        1. Value_1
      • Subgroup_2
        1. Value_1
      • Subgroup_3
        1. Value_1

Example code http://jsfiddle.net/j4n87xvy/3/

This discussion has been closed.