Does DataTables support forms too?
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?
form
Allan
I wanted a form tag inside a cell. Am I right in the understanding that datatables supports any tag being used inside a cell?
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
Equally, if you are just creating a DataTable from an existing HTML table, you could have a form in that if you want.
It looks like you're new here. If you want to get involved, click one of these buttons!
Replies
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
I wanted a form tag inside a cell. Am I right in the understanding that datatables supports any tag being used inside a cell?
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
Equally, if you are just creating a DataTable from an existing HTML table, you could have a form in that if you want.
Allan