Forum Discussion

Madesh's avatar
Madesh
New Contributor III
4 years ago
Solved

Combobox Multiple select option.

Is it possible to have multi select option in Combo box ( Dashboard component)?

 

Thanks & Regards,

Madesh K

  • Hi Madesh

    At the moment, there is not multi select option for combo boxes.

    There is a multiselect option for combo boxes in the format settings. Sergey is right and I'm wrong.

    As a work around, we are using grid objects or tree objects.

    You can embed them in the main dashboard or use them with a dialog (dashboard). The dialog can be launched with a button and pass back a parameter. Both solutions will return a comma separated list of member names.

    The grid object can do it very straight forward, because of the multi select feature mentioned by Sergey. For the tree view, you need to code a business rule that implements an multi select data adapter.

    I hope this helps and regards

    Christian

     

     

     

  • Sorry for offering a complicated (and wrong) answer to this question. The solution is much simpler, there is a multi select option for combo boxes in the format settings (list box has it as well):

    IsMultiSelect=True

    Cheers

22 Replies

  • apmorgan91's avatar
    apmorgan91
    New Contributor

    Is there a way to add a select All option, one that will mark all items when active and deselect all items when deactivated? 

    • ChristianW's avatar
      ChristianW
      Icon for OneStream Employee rankOneStream Employee

      The drop down box takes the last parameter value(s) as starting point. You can delete the parameter or set it with all values, using a button. 

  • ChristianW's avatar
    ChristianW
    Icon for OneStream Employee rankOneStream Employee

    Sorry for offering a complicated (and wrong) answer to this question. The solution is much simpler, there is a multi select option for combo boxes in the format settings (list box has it as well):

    IsMultiSelect=True

    Cheers

    • Hamza's avatar
      Hamza
      New Contributor II

      Hi Christian,

      Thank you for the solution above.

      How would you connect the parameter in a Cube View, when the Multi-Select combo box is being used?

      Context: I am looking to implement a multi-select combo box dropdown to select multiple entities and get an aggregated value in the Cube view.

      Thank you in advance.

      • ChristianW's avatar
        ChristianW
        Icon for OneStream Employee rankOneStream Employee

        Hi Hamza, E#root.list(|!parameter!|) should do the job. Cheers

  • ChristianW's avatar
    ChristianW
    Icon for OneStream Employee rankOneStream Employee

    Hi Madesh

    At the moment, there is not multi select option for combo boxes.

    There is a multiselect option for combo boxes in the format settings. Sergey is right and I'm wrong.

    As a work around, we are using grid objects or tree objects.

    You can embed them in the main dashboard or use them with a dialog (dashboard). The dialog can be launched with a button and pass back a parameter. Both solutions will return a comma separated list of member names.

    The grid object can do it very straight forward, because of the multi select feature mentioned by Sergey. For the tree view, you need to code a business rule that implements an multi select data adapter.

    I hope this helps and regards

    Christian

     

     

     

    • MJ1705's avatar
      MJ1705
      New Contributor II

      Hi Christain,

      Can you share a sample of the BR you are using to get a Tree View please?

      Thanks

      • ChristianW's avatar
        ChristianW
        Icon for OneStream Employee rankOneStream Employee

        At the moment, I'm busi traveling, but i will try to post something, if I'm back.

    • SeanV's avatar
      SeanV
      New Contributor III

      Christian,

      You mentioned "For the tree view, you need to code a business rule that implements an multi select data adapter."

      Would you have any code that you could share on this or expand on your answer?

      Thank you

    • seburn's avatar
      seburn
      New Contributor III

      Hi Christian. I'm familiar with the tree view object but not familiar with multiselect option you have here.  Can I ask what you are passing in as an example to the XFTreeItem? 

      e.g. Return New XFTreeItem(uniqueName, mbrName, color, True, True, True, False, XFImageFileSourceType.ClientImage, XFClientImageTypes.StatusGrayBall.Name, mbrName, treeChildren, TriStateBool.TrueValue) 

      I was playing with the variables to try to achieve the same e.g. passing in TriStateBool.TrueValue, etc but without success for enabling selection (only passing single param at a time).  Any pointers would be most appreciated.  It's very cool 🙂

      Cheers

      Sam

  • Sergey's avatar
    Sergey
    Icon for OneStream Employee rankOneStream Employee

    Hi Madesh,

    In the Display Format parameters, there is a "is multiselect" option that you might use in case you need to activate multi select in combo box :

    Regards,

    • ChristianW's avatar
      ChristianW
      Icon for OneStream Employee rankOneStream Employee

      Sorry, you are of cause right with your posting.