kendo-grid-editors
Additional grid editors for kendo-ui library.
Demo
A demo is available on the Github Pages webpage for kendo-grid-editors here.
Basic Usage
// create gridvar grid = $grid
Editors
stringEditor
template is not required
columns:... editor: KendoGridEditorsstringEditor...
numericEditor
template is not required
columns:... { optionsformat = "n"; optionsdecimals = 20; KendoGridEditors; }...
dateEditor
columns:... { options = {}; optionsfield = field; optionsformat = "dd.MM.yyyy"; return KendoGridEditors; } { optionsformat = "dd.MM.yyyy"; KendoGridEditors; }...
timeEditor
columns:... { options = {}; optionsfield = field; optionsformat = "HH:mm"; return KendoGridEditors; } { optionsformat = "{0:HH:mm}"; KendoGridEditors; }...
memoEditor
template is not required
columns:... { KendoGridEditors; }...
boolEditor
columns:... { options = {}; optionsfield = field; return KendoGridEditors; } { KendoGridEditors; }...
colorEditor
columns:... { options = {}; optionsfield = field; return KendoGridEditors; } { KendoGridEditors; }...
dropdownEditor
columns:... { options = {}; optionsfield = field; return KendoGridEditors; } { optionstext = 'text'; optionsvalue = 'value'; var list = ... //some dataSource KendoGridEditors;...}
dropDownImageEditor
columns:... { var options = {}; optionsfield = field; optionsvalue = 'value'; optionsimage = 'image'; optionstext = 'text'; return KendoGridEditors; } { optionstext = 'text'; optionsvalue = 'value'; optionsimage = 'image'; var list = ... //some images dataSource KendoGridEditors; }...
multiSelectEditor
columns:... { options = {}; optionsfield = field; optionstext = 'text'; return KendoGridEditors; } { optionstext = 'text'; optionsvalue = 'value'; var list = ...// some dataSource KendoGridEditors; }...
License
This code is provided under the MIT license.