flexGridFilter for hierarchical data

Posted by: nirwei on 9 September 2020, 2:42 am EST

  • Posted 9 September 2020, 2:42 am EST

    Hi,

    i have a 3 level json array that is the data source for the grid.

    eg:

    
    {
      "accountName": "asd",
      "accountId":123,
             "opportunities":[{
               "oppName": "qwe",
               "oppId":456,
                "products":[{
                     "productName":"zxc",
                      "productId":"753"
                         }]
                 }]
    }
    
    

    *original data structure has a lot more properties on each level.

    while a searchbox solution works , the users would like to utilize the flexGridFilter component. the problem is that flexGridFilter does not pick up on the nested values.

    how can i get the nested values into each column for the flexGridFilter?

    Thanks,

    Nir

  • Posted 9 September 2020, 2:48 am EST

    forgot to mention - i’m using angular 9

  • Posted 10 September 2020, 1:43 am EST

    Hi,

    We have replied to your query on SupportOne:

    https://supportone.componentone.com/casedetail/461849

    Regards,

    Ashwin

  • Posted 10 September 2020, 3:07 am EST

    Thanks Ashwin.

    i hope i’ll be able to find a way to implement it anyway.

  • Posted 11 September 2020, 12:07 am EST

    Hi Nir,

    If you are able to find a way, please post the solution here also.

    ~regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels