query |
search query |
searching for topics that have the named form attached to it |
web |
web where o start the query |
BASEWEB |
form |
DataForm definition which describes the columns of the grid |
|
columns |
name of columbns to display; these are the formfield names as specified in the DataForm definition in the specified form; there is a list of special column names that are remapped to topic properties (see below) |
all columns in the DataForm |
include |
regluar expression columns/formfields must match to be included in the grid model |
|
exclude |
regluar expression columns/formfields must NOT match to be included in the grid model |
|
rows |
number of rows to display in the grid per page |
20 |
rownumbers |
toggle on/off displaying the row number in the first column of the grid |
off |
rownumwidth |
number of pixels to reserve for rownumbers |
25 |
filterbar |
toggle on/off displaying a filter input field at the top of each column to narrow down search results |
off |
toolbar |
toggle on/off displaying a toolbar at the bottom of the grid; switch this on for pagination |
off |
sort |
name of column to sort the grid initially |
first column (excluding the optional row numbers) |
reverse |
toggle on/off reverse sorting order |
off |
caption |
caption to be displayed at the top of the grid |
|
pager |
toggle on/off the pager in the toolbar |
off |
viewrecords |
toggle on/off computing the total number of records and pages as part of the pager |
on |
height |
height of the grid; can be set as a number or auto |
|
width |
width of the grid; if not set, the grid's width is the sum of the width of all column |
|
scroll |
when enabled the pager element is disabled; data is loaded dynamically while scrolling down the grid |
off |
rowlist |
comma separated list of optional number of rows to select from in the grid interface |
5, 10, 20, 30, 40, 50, 100 |
colname_title |
(per column option) title of the column |
field title as specified in the DataForm |
colname_resizable |
(per column option) toggle on/off whether the width of the column can be changed by the user |
on |
colname_align |
(per column option) alignment of the data in the cell |
left |
colname_width |
(per column option) width of this column in pixel |
|
colname_search |
(per column option) toggle on/off if this column is searchable or not |
on (off for image columns) |
colname_formatter |
(per column option) specifies one of the standard formatters of jqgrid to be used for this column |
formats cell values as is |
colname_formatoptions |
(per column option) additional parameters to be bassed over to the column formatter; see the docu of the formater which these are; this is a list of json objects specified as key:value pairs, comma separated. |
none |
colname_format |
(per column option) specifies a template to be used when formating the a cell of this column; the format string may contain the variables: -
${id}: the id of the row, most often the web.topic name -
${value}: the value of the current cell -
${key}: some custom key as specified in the =colname_formatoptions Furthermore the format string may contain any formating features of JQueryTmpl |
|
colname_hidden |
(per column option) boolean value; if set the column will be hidden |
on |
id |
id of the grid |
Any relevant name |
connector |
connector ID or a topic name; a grid connector is responsible to interact with the jQGrid widget. This can be a topic that jQGrid should use as the target of its ajax requests, or any other registered grid connector. The topic should have a grid section and render an appropriate XML response based on the URL parameters provided by jqGrid (page, sort, columns, etc). |
$Foswiki::cfg{JQGridPlugin}{DefaultConnector} |
sortable |
(per column option) sort column in ascending or descending order |
on |
loadonce |
grid loads data from the server once, all other manipulations are done on the client side |
on |
multiselect |
allows selection of multiple rows in the grid |
on |
onSelectRow |
event handler triggered when a row is selected |
|
onSelectAll |
event handler triggered when all rows selected at once |
|
gridComplete |
event handler triggered when the grid is loaded |
|