ColumnFilterWidgets: Default-values for dropdowns, positioning of search-box

ColumnFilterWidgets: Default-values for dropdowns, positioning of search-box

mibaasmibaas Posts: 19Questions: 0Answers: 0
edited January 2014 in TableTools
Hi,

I love that combo and it enables me to easily produce powerful UIs - thanks a lot! :-)

Now, one user asked me to position Datatables search-box (currently right above the table) on the left hand side of that row - and the dropdowns from the CFW to their right. Is that possible at all?

AND: is there any way to assign default-values to the filters? I thought it should be possible to do some JS to select these values during onLoad-processing, but then these controls do not even have IDs and I have no idea how to assign IDs to these, so what can I do???

Thanks

Michael

Replies

  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67
    I think you can find all your requested features in my yadcf plugin in the following showcase example
    http://yadcf-showcase.appspot.com/multiple_tables.html also you can take a closer looks at the docs.
  • mibaasmibaas Posts: 19Questions: 0Answers: 0
    Thanks Daniel - I had a look at your plugin and must say that it looks promising, indeed...BUT does it support selection of multiple filter-criteria (the ColFilterWidget has a nice mechanism for that)?
  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67
    There is no multi selection filter in yadcf plugin yet (planning to add it somewhere in the future)
  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    Update: since 0.6.9 version there is a multiple selection filter: http://yadcf-showcase.appspot.com/DOM_source_chosen.html (this one also uses the Chosen plugin)

This discussion has been closed.