-
Notifications
You must be signed in to change notification settings - Fork 18
Props
Andrea edited this page Jun 12, 2016
·
10 revisions
| Property | Type | Default | Description |
|---|---|---|---|
body |
array | undefined | Synchronously loaded data, either this or use auto-load
|
auto-load |
boolean | false | If true it will make a GET request to the endpoint to populate body
|
endpoint |
string | "http://localhost:8080" |
This is the URL that will be queried for the resources |
header |
array or object | none | The header is responsible for creating the columns |
id-col |
string | "_id" |
This is the column used to identify a row when sending bulk actions |
delete |
boolean | false | Adds a column to http DELETE a single value |
body-field |
string | "body" |
The property in body that contains the actual data |
actions |
array or object | none | The bulk actions you can perform on data |
auto-refresh |
boolean | false | Asks the server for a new list after an action |
add-row |
boolean | false | Adds an empty row at the end of the table you can add |
editable |
boolean or array | true | The fields you can double click to edit |
order-by |
array or object | none | A list of columns on which to sort |
The props not documented here can be considered deprecated use them at your own risk