How to set new value in search
How to set new value in search
usbherath
Posts: 10Questions: 4Answers: 0
I need to set a new parameter in column search parameter list. How can I do it?
This discussion has been closed.
Answers
The
column().search()
page is here. Hope that helps. If not, please give more information, there's not much to go on here!Cheers,
Colin
These are the parameters currently sending with column search
columns[0].data
columns[0].name
columns[0].orderable
columns[0].search.regex
columns[0].search.value
columns[0].searchable
.....
I need to add new value like
columns[0].isSelect
. How can I do it?Ah, I see, this is for the server-side processing. If you look at this example here, it shows how you can add custom variables to the Ajax request.
Cheers,
Colin
How can I add values in column search
I've been guessing what you want, you're giving the minimal information here. As I said, if you want to send more parameters with the search, the example above will do that. If you want to do in the search itself, you'll probably need to create a custom search, maybe something like this.
If this isn't what you want, please explain fully, or better still, provide a live example that demonstrates the problem.
Colin