Data table 1.9.4 editable API how to add multiple input types on same table
Data table 1.9.4 editable API how to add multiple input types on same table
rupakdas85
Posts: 3Questions: 0Answers: 0
Please Help!
I am using datatable 1.9.4 editable API.I am facing problem to add multiple input types on same table.
In jquery.jeditable.js library we can only provide one input type as below.
[code]
$.fn.editable.defaults = {
name : 'value',
id : 'id',
type : 'text',
width : 'auto',
height : 'auto',
event : 'click.editable',
onblur : 'submit',
loadtype : 'GET',
loadtext : 'Loading...',
placeholder: 'N/A',
loaddata : {},
submitdata : {},
ajaxoptions: {}
};
[/code]
In the above type is text only.what to do if i want drop down for a particular column.
Thanks in Adv.
I am using datatable 1.9.4 editable API.I am facing problem to add multiple input types on same table.
In jquery.jeditable.js library we can only provide one input type as below.
[code]
$.fn.editable.defaults = {
name : 'value',
id : 'id',
type : 'text',
width : 'auto',
height : 'auto',
event : 'click.editable',
onblur : 'submit',
loadtype : 'GET',
loadtext : 'Loading...',
placeholder: 'N/A',
loaddata : {},
submitdata : {},
ajaxoptions: {}
};
[/code]
In the above type is text only.what to do if i want drop down for a particular column.
Thanks in Adv.
This discussion has been closed.
Replies
What editable API? There isn't one I am aware of other than Editor, which is really a later on top of DataTables.
Allan
i am trying
DataTables-1.9.4>examples>api>editable.html
Every thing working fine.I can edit/update on click event and also save data in db by ajax.Its very simple.Thanks for that.Now i am trying to add multiple input types for different columns on same table.But cant go ahead..