Datatable search not hide group rows
Datatable search not hide group rows
noomad
Posts: 1Questions: 1Answers: 0
I use the jquery.dataTables.js plugin. I have a lot of nested groups.
- Main_group
- Group_level_1
- Group_level_2
- Subgroup_1
- Value_1
- Value_2
- Subgroup_2
- Value_1
- Value_2
- Subgroup_3
- Value_1
- Value_2
- Group_level_2
- Group_level_1
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
- Value_1
- Subgroup_2
- Value_1
- Subgroup_3
- Value_1
- Group_level_2
- Group_level_1
Example code http://jsfiddle.net/j4n87xvy/3/
This discussion has been closed.