Implement 'TEXTAREA' and 'MULTI-SELECT' in Table Edit.
Textarea:
- You guys need to add three parameters while defining Tabledit as below:
$('#userListTabledit').Tabledit({
.......................................................,
columns: {
identifier: [0, 'Id'],
editable: [
[1, 'userAddress', 'textarea'],
]
}
});
Multi-Select:
-
For Implement Multi-Select you guys need to import one external library of jquery multi-select [ https://github.com/mysociety/jquery-multi-select ].
-
You guys need to add four parameters while defining Tabledit as below:
$('#userListTabledit').Tabledit({
.......................................................,
columns: {
identifier: [0, 'Id'],
editable: [
[1, 'hobbies', 'multiselect', hobbiesJson],
]
}
});
$('.multiSelect').multiSelect();
hi, I cant get textarea to work in chrome
VM28455:1 Uncaught SyntaxError: Unexpected token e in JSON at position 1
at JSON.parse (