... |
... |
@@ -1,8 +1,12 @@ |
1 |
1 |
{{velocity}} |
2 |
2 |
#set ($columnsProperties = { |
3 |
|
- '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}, |
4 |
|
- 'shortText1': {}, |
5 |
|
- 'shortText2': {} |
|
3 |
+ 'longText1': {"type":"text","filterable":false,"sortable":false,"html":true}, |
|
4 |
+ 'doc.title': {"type":"text","size":20,"displayName":"Title","link":"view"}, |
|
5 |
+ 'staticList1': {"type":"list","size":10}, |
|
6 |
+ 'date1': {"type":"text","size":10,"html":true}, |
|
7 |
+ 'databaseList1': {"type":"list","size":10}, |
|
8 |
+ 'boolean1': {"type":"text","size":10}, |
|
9 |
+ '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} |
6 |
6 |
}) |
7 |
7 |
#set ($options = { |
8 |
8 |
'className': 'Help.Applications.Movies.Code.MoviesClass', |
... |
... |
@@ -10,9 +10,9 @@ |
10 |
10 |
'tagCloud': true, |
11 |
11 |
'rowCount': 15, |
12 |
12 |
'maxPages': 10, |
13 |
|
- 'selectedColumn': '_actions', |
|
17 |
+ 'selectedColumn': 'longText1', |
14 |
14 |
'defaultOrder': 'asc' |
15 |
15 |
}) |
16 |
|
-#set ($columns = ['_actions', 'shortText1', 'shortText2']) |
|
20 |
+#set ($columns = ['longText1', 'doc.title', 'staticList1', 'date1', 'databaseList1', 'boolean1', '_actions']) |
17 |
17 |
#livetable('movies' $columns $columnsProperties $options) |
18 |
18 |
{{/velocity}} |