0

i've tried the example, table with filter, in the angular material official page and i have a question: there is a way to add a space to concatenate object values? Because, as they said, "the row data reducing function will concatenate all the object values and convert them to lowercase". I want to add more words, in the filter, not concatenate but with space.

For example: enter image description here

If i add a space between the word, nothing will appears.

  • What exactly do you mean? Can you show an example? – bugs May 17 '18 at 10:50
  • Yes, one second –  May 17 '18 at 10:53
  • Two things: 1) I'm surprised you get a result with `agenteagente`, as there is no column with that keyword, did you override the default filterPredicate? 2) why would `agente agente` return anything? What's the rationale behind it? – bugs May 17 '18 at 10:57
  • Because there is a data with name agent and surname agent –  May 17 '18 at 11:29
  • That's not how filters are supposed to work. I would stick to the default behaviour – bugs May 17 '18 at 11:30
  • I used the website's example –  May 17 '18 at 12:36

0 Answers0