form support

form support

mukeshpmukeshp Posts: 8Questions: 0Answers: 0
edited September 2016 in Free community support

Does DataTables support forms too?

Replies

  • allanallan Posts: 61,740Questions: 1Answers: 10,111 Site admin

    I'm not sure what you mean - could you expand upon your question please? Do you want to put a form inside a cell, outside the table or what?

    Allan

  • mukeshpmukeshp Posts: 8Questions: 0Answers: 0

    I wanted a form tag inside a cell. Am I right in the understanding that datatables supports any tag being used inside a cell?

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    If you mean html tags, yes. There are actually several different ways to customize your content.

    The most common is the columns render options as described here:
    https://datatables.net/reference/option/columns.render

    Here is an example where I am adding buttons to the last column
    http://jsbin.com/kanupaj/5/edit?html,js,output

  • allanallan Posts: 61,740Questions: 1Answers: 10,111 Site admin

    Equally, if you are just creating a DataTable from an existing HTML table, you could have a form in that if you want.

    Allan

This discussion has been closed.