How to add select list box to each row .

How to add select list box to each row .

SrilakshmiSrilakshmi Posts: 35Questions: 6Answers: 0

Hi ,
How to add select list box (dynamic ) to each row like the way check boxes are added in the following example,
https://editor.datatables.net/examples/inline-editing/options.html .

Regards,
Srilakshmi

Answers

  • allanallan Posts: 61,787Questions: 1Answers: 10,115 Site admin

    Do you mean the checkboxes in the first row? They aren't really checkboxes - just a graphical icon indicating the checked state of the row. They are not form elements that submit data to the server.

    If you want a select input in every row, which is always visible, you could simply put the HTML for the select into the cell. However, keep in mind that it would not be part of the Editor form so you would need to write some custom code for processing any updates.

    Allan

This discussion has been closed.