select combo box as filter
select combo box as filter
Hi all enthusiasts!
I hope somebody can help me with this topic.
I am using server side processing; I need to put a select combo box so that when i get the request in the server I can get the select combo box value.
This value must be retrieved every time the server is requested, wathever being key pressed in the search filter box, or records length change or any other action that normally do a request on the server.
I need the value of my combo box because it will be in my query on the WHERE condition. I know that I could use fnFilter if the value would be a column value to filter in the table but this is not the case.
Thanks in advance.
I hope somebody can help me with this topic.
I am using server side processing; I need to put a select combo box so that when i get the request in the server I can get the select combo box value.
This value must be retrieved every time the server is requested, wathever being key pressed in the search filter box, or records length change or any other action that normally do a request on the server.
I need the value of my combo box because it will be in my query on the WHERE condition. I know that I could use fnFilter if the value would be a column value to filter in the table but this is not the case.
Thanks in advance.
This discussion has been closed.
Replies
This shows how you can add whatever variables you want (or even manipulate the ones sent by DataTables) in the Ajax get request to the server.
Allan