Table group-by
Use Plugin: bootstrap-table-group-by
Dependence: jquery-treetable v3.2.0
You must include the bootstrap-table-group-by.css file in order to get the appropriate style
Usage
<script src="extensions/group-by/bootstrap-table-group-by.js"></script>
Options
groupBy
- type: Boolean
- description: Set true to group the data by the field passed.
- default:
false
groupByField
- type: String
- description: Set the field that you want to group the data.
- default: ``
groupBySumGroup
- type: Boolean
- description: Set to True to include a sum row.
- default:
false
groupByInitExpanded
- type: Boolean
- description: Set to True to expand the first node of the table.
- default:
false
Methods
expandAll
- Expand all the nodes in the table.
collapseAll
- Collapse all the nodes in the table.
Known issues
OnSort
- When sort options are set to True the group by is not working properly, for now if these properties are set to True the group by extension will be disabled.