UNPKG

bootstrap-table

Version:

An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).

58 lines (30 loc) 744 B
--- layout: docs title: Table Treegrid description: Table Treegrid extension of Bootstrap Table. group: extensions toc: true --- Use Plugin: [bootstrap-table-treegrid](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/treegrid) ## Usage {% highlight html %} <script src="extensions/treegrid/bootstrap-table-treegrid.js"></script> {% endhighlight %} ## Options ### idField - **type:** `String` - **Detail:** overwrite the default idField to `'id'` - **Default:** `'id'` ### treeShowField - **type:** `String` - **Detail:** - **Default:** `''` ### parentIdField - **type:** `String` - **Detail:** - **Default:** `'pid'` ### rootParentId - **type:** `String` - **Detail:** - **Default:** `null`