Classes (0) | Namespaces (0) |
Properties (0) | Static properties (4) |
Methods (0) | Static methods (0) |
Events (0) |
Properties (0) | Static properties (4) |
Methods (0) | Static methods (0) |
Events (0) |
Strings used when working with the Editor 'delete' action (deleting existing records).
TableTools button text
Deletion confirmation message.
As Editor has the ability to delete either a single or multiple rows at a time, this option can be given as either a string (which will be used regardless of how many records are selected) or as an object where the property "_" will be used (with %d substituted for the number of records to be deleted) as the delete message, unless there is a key with the number of records to be deleted. This allows Editor to consider the different pluralisation characteristics of different languages.
// String - no plural consideration var editor = new $.fn.Editor( { "ajaxUrl": "data/source", "domTable": "#example", "i18n": { "remove": { "confirm": "Are you sure you wish to delete %s record(s)?" } } } );
// Basic 1 (singular) or _ (plural) var editor = new $.fn.Editor( { "ajaxUrl": "data/source", "domTable": "#example", "i18n": { "remove": { "confirm": { "_": "Confirm deletion of %s records.", "1": "Confirm deletion of record." } } } );
// Singular, dual and plural var editor = new $.fn.Editor( { "ajaxUrl": "data/source", "domTable": "#example", "i18n": { "remove": { "confirm": { "_": "Confirm deletion of %s records.", "1": "Confirm deletion of record.", "2": "Confirm deletion of both record." } } } );
Submit button text
Display container title (when showing the editor display)