- Added support for textarea and HTMLarea fields + i18n additional labels
(editor Save/Cancel, YUI Datatable Loading/Error messages, and also column sort tooltips (new in YUI 29.0). - Added CSS files for the existing two DataTable Templates. Each file should be added to the corresponding template as a CSS Attachment. - Avoid terminating the editor on Enter. - Arrange for TAB to save and move editor for next cell also for HTMLarea editor. - Define classes "wg-dt-textarea" and "wg-dt-htmlarea" + styling for the corresponding cells. - Commented out handleTableKeyEvent() (reason in the code). - Implemented a simple workaround to restore the "editor" field (not preserved due to an unknown reason).
This commit is contained in:
parent
1fd29bf2a1
commit
5aa0835649
5 changed files with 293 additions and 38 deletions
|
|
@ -74,6 +74,18 @@ our $I18N = {
|
|||
context => q{Format for a column with a date},
|
||||
},
|
||||
|
||||
"format textarea" => {
|
||||
message => q{Textarea},
|
||||
lastUpdated => 0,
|
||||
context => q{Format for a textarea column},
|
||||
},
|
||||
|
||||
"format htmlarea" => {
|
||||
message => q{HTMLarea},
|
||||
lastUpdated => 0,
|
||||
context => q{Format for an HTMLarea column},
|
||||
},
|
||||
|
||||
"add column" => {
|
||||
message => q{Add Column},
|
||||
lastUpdated => 0,
|
||||
|
|
@ -152,6 +164,23 @@ our $I18N = {
|
|||
context => q{The name of a newly added value to a column},
|
||||
},
|
||||
|
||||
"data error" => {
|
||||
message => q{Data error.},
|
||||
lastUpdated => 0,
|
||||
context => q{Message to display when DataTable has data error},
|
||||
},
|
||||
|
||||
"sort ascending" => {
|
||||
message => q{Click to sort ascending},
|
||||
lastUpdated => 0,
|
||||
context => q{Message to display in tooltip to sort Column in ascending order},
|
||||
},
|
||||
|
||||
"sort descending" => {
|
||||
message => q{Click to sort descending},
|
||||
lastUpdated => 0,
|
||||
context => q{Message to display in tooltip to sort Column in descending order},
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue