0

I'm trying to write a filter for a treestore using this example, and I'm wondering how you tweak/call the filter method so that you can display values that don't match your filter parameter.

I tried to tweak it so that it only called node.remove() when the the filter parameter was wrong. However this doesn't seem to update the store and panel.

Am I missing something?

Community
  • 1
  • 1
Babyangel
  • 105
  • 1
  • 2
  • 10

1 Answers1

0

To do that I would need to write a custom implementation of Filter.filterfn.

Filter({
 filterfn: function(record){
   //Insert Logic
 }
})
Babyangel
  • 105
  • 1
  • 2
  • 10