Length and Search form elements in an arbitrary location?
Length and Search form elements in an arbitrary location?
How do I put the Length and Search form elements in an arbitrary location on the page?
Example:
[code]
<!-- Insert Form Control here -->
<!-- a bunch of other stuff that has nothing to do with the table -->
<!-- the actual data table -->
Order ID
Customer
Loading data from server
[/code]
There's an option called "sDom", but I can't get it to do what I want, and it seems like it inserts mark-up into the table, rather than just inserting the control in a pre-existing location... ??
How can I put just the control into a div that's *anywhere* on the page?
Example:
[code]
<!-- Insert Form Control here -->
<!-- a bunch of other stuff that has nothing to do with the table -->
<!-- the actual data table -->
Order ID
Customer
Loading data from server
[/code]
There's an option called "sDom", but I can't get it to do what I want, and it seems like it inserts mark-up into the table, rather than just inserting the control in a pre-existing location... ??
How can I put just the control into a div that's *anywhere* on the page?
This discussion has been closed.
Replies
http://datatables.net/examples/basic_init/dom.html
thanks,
Vivek