• Resolved khongyp

    (@khongyp)


    Hi

    I don’t quite understand this part. I tried it, seems like no effect. Can you please try explain again. Thank you.

    If your filter columns contain a list of possible keywords, e.g. a list of colors (“red, blue, green, yellow”) where filtering should only be done for one color, you can define the separator characters for these keywords, so that the list is split automatically:

    [table id=123 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_separator=”, ” /]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure how to explain this more. Basically, if the value in a cell is “red, blue, green, yellow”, using a parameter like

    datatables_columnfilterwidgets_separator=", "
    

    will result in the drop down having four separate entries, with one color each, instead of just one entry with all four colors (as in the cell).

    Regards,
    Tobias

    Thread Starter khongyp

    (@khongyp)

    Got it. Thank you very much.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘DataTables ColumnFilterWidgets’ is closed to new replies.