Skip to content

Commit cc83753

Browse files
committed
allow details templating and column ordering
1 parent d76f6b3 commit cc83753

File tree

9 files changed

+660
-502
lines changed

9 files changed

+660
-502
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@ Our component parameters:
150150
jquery: {
151151
type: Object
152152
},
153+
/**
154+
* Pass in Vue to resolve any conflict from multiple loaded
155+
*
156+
* @type Object
157+
*/
158+
vue: {
159+
type: Object
160+
},
153161
/**
154162
* The select-checkbox column index (start at 1)
155163
* Current implementation require datatables.net-select
@@ -212,6 +220,7 @@ fields: {
212220
- `template` simple vue template for the field. See example App.
213221
- `defaultOrder` null, asc/desc - the default/initial sort order
214222
- `isLocal` same as setting both searchable and sortable to false
223+
- `index` allow for column positioning
215224

216225
> It is important to understand why it is better to use `fields` and not `opts.columns`. Though, `fields` is optional if one wish to use the raw `opts.columns` definition.
217226

0 commit comments

Comments
 (0)