How to replace search builder dropdown with text

How to replace search builder dropdown with text

borobioborobio Posts: 7Questions: 3Answers: 0

Hi there,

I am using search builder and want to replace the automatic values dropdown with an input text instead. The reason is that we are providing the search value programatically from a different source and want to avoid the searchbuilder showing all values when the value is not in the list.

I have looked at this example , that seems to be modifying
.fn.dataTable.ext.searchBuilder.conditions

This is how I have adapted it so far
http://live.datatables.net/vigabate/2/edit

and it does the job for the first search (name = "Full Name") but doesn't work once I add another name =
"Full Name".
Also the styling and alignment is not great.

Is there a easier way to achieve this (i.e. replace the automatic dropdown with an input)?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Sorry, for the delay, but this thread should help, it's asking the same thing.

    Cheers,

    Colin

Sign In or Register to comment.