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

rupakdas85rupakdas85 Posts: 3Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
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.

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    > I am using datatable 1.9.4 editable API

    What editable API? There isn't one I am aware of other than Editor, which is really a later on top of DataTables.

    Allan
  • rupakdas85rupakdas85 Posts: 3Questions: 0Answers: 0
    Using editable API we can quickly edit a table by clicking on its column
    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..
This discussion has been closed.