1234567891011121314151617181920212223242526272829303132 |
- let listManager;
-
- $(document).ready(function () {
- listManager = new ListManager($("#dataList"), 'article',
- [
- {
- name: 'name',
- description: 'Nom',
- type: 'text'
- },
- {
- name: 'description',
- description: 'Description',
- type: 'text'
- },
- {
- name: 'price',
- description: 'Prix',
- type: 'number'
- },
- {
- name: 'code',
- description: 'Code',
- type: 'text'
- },
- {
- name: 'category',
- description: 'Catégories',
- type: 'checkboxes'
- },
- ]);
- });
|