0 Votes

Wiki source code of Polls

Last modified by Jeff McDonald on 2021/10/19 08:24

Hide last authors
Jeff McDonald 1.1 1 {{velocity}}
2 #set($columnsProperties = {
3 'name': {'type': 'text', 'link' : 'view', 'size': 10, 'filterable': true, 'sortable': true, 'html': false},
4 'status': {'type': 'list', 'size': 10, 'filterable': true, 'sortable': true, 'html': false},
5 'winner': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': false},
6 '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']}
7 })
8 #set($options = {
9 'className': 'XPoll.XPollClass',
10 'translationPrefix': 'xpoll.livetable.',
11 'tagCloud': true,
12 'rowCount': 15,
13 'maxPages': 10,
14 'selectedColumn': 'name',
15 'defaultOrder': 'asc'
16 })
17 #set($columns = ['name', 'status', 'winner', '_actions'])
18 #livetable('xpoll' $columns $columnsProperties $options)
19 {{/velocity}}

Recent Polls

 There are no polls yet