Using textarea type fields
Using textarea type fields
Hi Allan,
please excuse me if this is a stupid question, I looked for it before asking.
We initialize the editor in one of our tables with
new $.fn.dataTable.Editor(editorOpt);
where editorOpt.fields contains a field which definition is {type: textarea}
When the user clicks the table he gets an text area input field, but there is no way he can save the information (clicking enters just adds new line - which is great), how can the user save the information?
Thanks,
Yishay
This question has accepted answers - jump to:
Answers
I presume you are using inline editing here? You need to also have it show a button in the inline form so the user has something to submit with. A return is perfectly valid in a text area, hence the need for a button.
Allan
This example shows the use of a submit button with inline editing.
That did the work.
Thanks,
Yishay