Changes between Version 19 and Version 20 of DeveloperGuidelines/DataTables
- Timestamp:
- 11/23/11 12:57:10 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/DataTables
v19 v20 17 17 || dataTable_sDom \\'''auto''' || This defines where the controls of the !DataTable will be positioned || String explained in the !DataTables documentation || default value 'fril<"dataTable_table"t>pi' See http://www.datatables.net/usage/options for more information || 18 18 || dataTable_sPaginationType || This defines what controls are displayed to allow the user to page through the records || String either 'two_button' or 'full_numbers' \\'''default value''' 'full_numbers' || || 19 || dataTableDisplay || This can be used to change how a cell displays the text || List of translations. Each translation is a dictionary item and consists of the column number, the value to look for and its replacement || 20 || dataTableResize || If set then the table will resize after download - this allows fields with long body text to have excess hidden behind a button - e.g. comments_represent() || True or False || 19 || dataTableDisplay || This can be used to change how a cell displays the text || List of translations. Each translation is a dictionary item and consists of the column number, the value to look for and its replacement || || 20 || dataTableResize || If set then the table will resize after download - this allows fields with long body text to have excess hidden behind a button - e.g. comments_represent() || True or False || This is set up as a property of response.s3 || 21 21 || dataTableStyleDisabled || This can be used to give a style to represent disabled text || list of ids to apply this style || This adds the class 'disable' to the tr element || 22 22 || dataTableStyleAlert || This can be used to give a style to represent an alert condition for the row || list of ids to apply this style || This adds the class 'alert' to the tr element ||