changing the pipeline paramaters

changing the pipeline paramaters

meldmeld Posts: 1Questions: 0Answers: 0
edited March 2010 in General
I'm using the pipeline API with datatables, and I'm trying to do a couple of things which don't seem to have a specific example.

I've added search boxes for my table, but these aren't 'live', in other words the user has to click on an 'apply filter' and then the ajax request is initiated so there is no actual datatable filtering going on. I can probably figure out the 'trigger update' action pretty easily, but how do I change the value of sSearch_0,sSearch_1 etc. so they contain the value of my search boxes?

For instance, if I have:

[code]

[/code]

I want the value of 'filter_column1' to be assigned to sSearch_1 (aka sSearch_1 = $("#filter_column1").attr('value') which is called before the ajax action).

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    fnFilter allows you to pass an integer to indicate which column the filtering should occur on.

    Documentation: http://datatables.net/api#fnFilter
    Example: http://datatables.net/examples/api/multi_filter.html

    Allan
This discussion has been closed.