Changes between Version 20 and Version 21 of DeveloperGuidelines/DataTables
- Timestamp:
- 08/08/12 09:53:56 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/DataTables
v20 v21 8 8 || dataTableSelectable || If set this allows the rows to be selected. || Boolean || This is set up as a property of response.s3 || 9 9 || dataTableSelectAll || Only works if dataTableSelectable is set to True. The default is no elements are initially selected, by setting this to True all elements will initially be selected. || Boolean || This is set up as a property of response.s3 || 10 || dataTableSelectSubmitURL || Only works if dataTableSelectable is set to True. This is the URL to which the submit button will send the selected details. || Boolean || This is set up as a property of response.s3 || 11 || dataTablePostMethod || Only works if dataTableSelectable is set to True. The default mechanism is to send the details of the selected elements as part of the URL. If this is set then the details will be sent as a POST. However this does require a form to be wrapped around the dataTable. || Boolean || This is set up as a property of response.s3 || 10 || dataTableBulkActions || Only works if dataTableSelectable is set to True. This is the label of the button, or a list of labels should you want more than one bulk action. || String or list of Strings || This is set up as a property of response.s3 || 12 11 || actions || The list of action buttons to be displayed in the first column. The default action is to send a command to the server a new _jqclick option will attach some java script to the button rather send a request to the server. || List of actions. Each action is a dictionary values. And consists of the label, the HTML class and the URL. Optionally it may also include a restrict list that restricts these buttons to being displayed to just the ids on the list. || This is set up as a property of response.s3 || 13 12 || dataTableID \\'''auto''' || The HTML id that will be used to identify this table || String \\'''default value''' 'list' || Set up using s3mgr.configure in the pre-processing ||