[CLOSED] TemplateColumn and FilterHeader Plugin

  1. #1

    [CLOSED] TemplateColumn and FilterHeader Plugin

    Referring to this example I would like to add a FilterHeader Plugin to the grid.

    I added this line
    Other columns' filter works, but I'm not able to make the filter work through the TemplateColumn.

    Do you think there is a way to search inside an html template?

    Thank you!
    Last edited by fabricio.murta; Mar 01, 2018 at 6:26 PM.
  2. #2
    Hello @bbros!

    I believe you would need to make a custom filter but, as the template column is actually a kind of equivalent to a custom renderer in an ordinary column, you'd need to repeat the math every record (if your formatting involves printing data derived from various actual record fields) during the tests.

    For more efficient filtering maybe pre-processing the data displayed in the template column and turning it into a simple column (maybe with a template just for coloring and other formatting that shouldn't affect the filters) should be the way to go. This way the data shown in the column will be effectively in the store, thus being filterable, sortable, and so on.

    I hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    ok thanks.
    you can mark it as closed.
    I'll put another textbox outside the grid with a custom filter over the store.
  4. #4
    Hello @bbros! Thanks for your feedback, I hope the information provided helped!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] FilterHeader plugin : override Operator of Parameters["filterheader"]
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 17, 2015, 2:55 PM
  2. Replies: 1
    Last Post: Nov 10, 2014, 1:58 PM
  3. Default values in FilterHeader Plugin
    By iomega55 in forum 2.x Help
    Replies: 1
    Last Post: Oct 14, 2014, 2:44 PM
  4. Hide/Show FilterHeader Plugin
    By ADV in forum 2.x Help
    Replies: 2
    Last Post: Dec 24, 2013, 2:46 AM
  5. [CLOSED] FilterHeader Plugin Error
    By leonardm in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 21, 2013, 5:53 PM

Posting Permissions