omrsbr / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

Multiple fields to search with #130

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As far as I can see, there is only one field you can search with; you can't 
combine.  For example, if I had a table full of cars, I might want to sort by 
make and model, not just make or model which seems to be the only option with 
flexigrid.  This is almost renders a db connection useless.

Original issue reported on code.google.com by cyborg10...@gmail.com on 10 Jul 2012 at 5:01

GoogleCodeExporter commented 8 years ago
In the attachment you can see my changes in search engine, isn't the best ones, 
but:

1) searchitems can be a function, that will be triggered when the icon is 
clicked, you can open a custom window to fill and send extra parameters at 
onSubmit event.
2) You can provide a "options" function on the search item, this mean that you 
need a select instead a text input on that filter, the "options" function will 
receive a jQuery object with a Select element, ready to append new 
$('<option/>') elements. In the future I'm planning to have a custom input for 
each search item, that can be customized (date, mask, select, multiselect)

Original comment by harrypit...@gmail.com on 1 Oct 2012 at 2:52

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Harrypit: Did you get any chance to work on that further. there is not 
Updation from 2012. I was looking for a multiple search in flexigrid

Original comment by rkumars1...@gmail.com on 18 Jul 2014 at 7:11