Topic: Cannot search from child record columns

Ankita Singh free asked 3 years ago


Expected behavior Table containing following dataset can search based on fields key1- key7 should also be able to search based on child records. Actual behavior Table containing following dataset can search based on fields key1- key7 but not on key9-key16 (using searchLocalDataByMultipleFields()) Resources (screenshots, code snippets etc.) { "results":[{ "key1" : "1244", "key2" : "1234567", "key3" : "Invoice", "key4" : "98765425", "key5" : "ZXYC", "key6" : "15/DEC/2020", "key7" : "20201215", "key8" : { "results" : [ { "key9" : "1244", "key10" : "1234567", "key11" : "Note", "key12" : "98765424", "key13" : "ABCD", "key14" : "15/DEC/2020", "key15" : "20201215", "key16" : "0.00 " } ] } }, { "key1" : "1244", "key2" : "1234567", "key3" : "Invoice", "key4" : "98765425", "key5" : "ZXYC", "key6" : "15/DEC/2020", "key7" : "20201215", "key8" : { "results" : [ { "key9" : "1244", "key10" : "1234567", "key11" : "Note", "key12" : "98765424", "key13" : "ABCD", "key14" : "15/DEC/2020", "key15" : "20201215", "key16" : "0.00 " } ] } } ] }


Arkadiusz Idzikowski staff answered 3 years ago


Unfortunately, it is not possible in the current version. We will try to fix that by adding a possibility to pass a custom filter function to the directive, but we can't provide an ETA for that yet.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.0.0
  • Device: HP Probook
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No