|
4 | 4 |
|
5 | 5 | Used bootstrap-table version 1.18.3. |
6 | 6 |
|
7 | | -Inspired by [SgDatatablesBundle](https://github.com/stwe/DatatablesBundle). |
| 7 | +Inspired by [SgDatatablesBundle](https://github.com/stwe/DatatablesBundle) and [omines/datatables-bundle](https://github.com/omines/datatables-bundle) |
8 | 8 |
|
9 | 9 | ## Overview |
10 | 10 |
|
@@ -662,38 +662,59 @@ Table Dataset are provided directly to the `bootstrap-table` as data-attributes |
662 | 662 |
|
663 | 663 | #### Options |
664 | 664 |
|
665 | | -| Option | Type | Default | |
666 | | -| -------------------------- | ------ | ----------------------------------------------------------- | |
667 | | -| pagination | bool | true | |
668 | | -| search | bool | true | |
669 | | -| show-columns | bool | true | |
670 | | -| show-footer | bool | true | |
671 | | -| filter-control | bool | false | |
672 | | -| show-refresh | bool | true | |
673 | | -| toolbar | string | "#toolbar" | |
674 | | -| page-list | string | "[10, 25, 50, 100, 200, 500, All]" | |
675 | | -| page-size | int | 25 | |
676 | | -| sort-reset | bool | true | |
677 | | -| pagination-V-Align | string | "both" | |
678 | | -| undefined-text | string | "" | |
679 | | -| locale | string | "en-US" | |
680 | | -| advanced-search | bool | true | |
681 | | -| id-table | string | class name of table with counter. (`$this->getTableName()`) | |
682 | | -| icons-prefix | string | "fa" | |
683 | | -| click-to-select | bool | true | |
684 | | -| show-jump-to | bool | true | |
685 | | -| show-export | bool | true | |
686 | | -| export-types | string | "['csv', 'txt'', 'excel']" | |
687 | | -| export-options | array | see under table* | |
688 | | -| detail-view | bool | false | |
689 | | -| detail-formatter | string | "" | |
690 | | -| detail-view-align | string | "" | |
691 | | -| detail-view-icon | bool | true | |
692 | | -| detail-view-by-click | bool | false | |
693 | | -| sticky-header | bool | true | |
694 | | -| sticky-header-offset-left | int | 0 | |
695 | | -| sticky-header-offset-right | int | 0 | |
696 | | -| sticky-header-offset-y | int | 0 | |
| 665 | +| Option | Type | Default | |
| 666 | +| -------------------------- | ------ | ---------------------------------------------- | |
| 667 | +| pagination | bool | true | |
| 668 | +| search | bool | true | |
| 669 | +| show-columns | bool | true | |
| 670 | +| show-footer | bool | true | |
| 671 | +| filter-control | bool | false | |
| 672 | +| show-refresh | bool | true | |
| 673 | +| toolbar | string | "#toolbar" | |
| 674 | +| page-list | string | "[10, 25, 50, 100, 200, 500, All]" | |
| 675 | +| page-size | int | 25 | |
| 676 | +| sort-reset | bool | true | |
| 677 | +| pagination-V-Align | string | "both" | |
| 678 | +| undefined-text | string | "" | |
| 679 | +| locale | string | "en-US" | |
| 680 | +| advanced-search | bool | true | |
| 681 | +| id-table | string | class name of table. (`$this->getTableName()`) | |
| 682 | +| icons-prefix | string | "fa" | |
| 683 | +| icons | array | see under table* | |
| 684 | +| click-to-select | bool | true | |
| 685 | +| show-jump-to | bool | true | |
| 686 | +| show-export | bool | true | |
| 687 | +| export-types | string | "['csv', 'txt'', 'excel']" | |
| 688 | +| export-options | array | see under table* | |
| 689 | +| detail-view | bool | false | |
| 690 | +| detail-formatter | string | "" | |
| 691 | +| detail-view-align | string | "" | |
| 692 | +| detail-view-icon | bool | true | |
| 693 | +| detail-view-by-click | bool | false | |
| 694 | +| sticky-header | bool | true | |
| 695 | +| sticky-header-offset-left | int | 0 | |
| 696 | +| sticky-header-offset-right | int | 0 | |
| 697 | +| sticky-header-offset-y | int | 0 | |
| 698 | + |
| 699 | +`icons`: |
| 700 | + |
| 701 | +| Option | Type | Default | |
| 702 | +| -------------------- | ------ | ------------------------ | |
| 703 | +| advancedSearchIcon | string | "fa-filter" | |
| 704 | +| paginationSwitchDown | string | "fa-caret-square-o-down" | |
| 705 | +| paginationSwitchUp | string | "fa-caret-square-o-up" | |
| 706 | +| columns | string | "fa-columns" | |
| 707 | +| refresh | string | "fa-sync" | |
| 708 | +| export | string | "fa-download" | |
| 709 | +| detailOpen | string | "fa-plus" | |
| 710 | +| detailClose | string | "fa-minus" | |
| 711 | +| toggleOff | string | "fa-toggle-off" | |
| 712 | +| toggleOn | string | "fa-toggle-on" | |
| 713 | +| fullscreen | string | "fa-arrows-alt" | |
| 714 | +| search | string | "fa-search" | |
| 715 | +| clearSearch | string | "fa-trash" | |
| 716 | + |
| 717 | + |
697 | 718 |
|
698 | 719 | `export-options`: |
699 | 720 |
|
|
0 commit comments