Skip to Content

Problem in Custom Control Multi-Combo Box drop down list in Smart filter Bar not updating

Hi Experts,

We are trying to create a custom control multi-combo box in a smart filter bar where the list of items are dependent from another filter (FilterA). FilterA is also found at the same smart filter bar and with Value help request. So the requirement is whenever FilterA is changed, the drop down list of the multi-combo box changes dynamically.

The problem is that the Value Help GetEntitySet method of the multi-combo box is triggered right away at first launch of the app and no longer calls the same GetEntitySet when FilterA is changed. This leaves the drop down list as empty or will only change values one time.

If anyone knows how to solve this issue, it would be of great help.

Thanks and Best Regards!

Mac

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 23 at 10:16 AM

    If i have understood your requirement correctly, the value in your multicombox box are actually dependent on value selected by user in Filter A. So you need to pass the value selected by user in Filter A to retrieve the expected values.

    Try calling the entityset method of the MultiCombo Box on the filterChange event of the SmartFilterBar whenever you change the value of Filter A. Then you should get the updated values.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Vaibhav, we are able to retrieve it now. Found out that the filters are passed in the filter string variable and not to the select options internal table. This will be enough!

      Thanks a lot for your inputs!