01-18-2022 05:33 AM - last edited on 05-23-2023 04:15 AM by JackLacava
Is it possible to have multi select option in Combo box ( Dashboard component)?
Thanks & Regards,
Madesh K
Solved! Go to Solution.
01-18-2022 08:33 AM - edited 01-19-2022 08:05 AM
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
01-19-2022 08:00 AM
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
01-18-2022 05:42 AM
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,
01-19-2022 08:06 AM
Sorry, you are of cause right with your posting.
01-18-2022 08:33 AM - edited 01-19-2022 08:05 AM
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
01-18-2022 10:08 AM
Thanks Christian, Will implement it.
01-06-2023 12:10 AM
Hi Christian, that second screenshot of yours is a really cool solution I'm trying to replicate. I need to present the user the members of a dimension as a hierarchy. They'll pick multiple members from the hierarchy which will return as a comma separated list. I could use a list box with multi-select, but that doesn't show a hierarchy. I see your solution exactly matches what I'm looking for. Would you mind if I asked you for some direction on how you wrote that BR that allows multi select on, what is that, a tree view? Thanks so much
01-06-2023 02:38 PM
Hi Christian,
I am looking for sample code to build the custom tree view (not same as what is in the original hierarchy) of members in any dimension to present in a dashboard for use to select a member. similar to what you have in your screenshot. would you be albe to share some steps on how you achieved it?
01-29-2023 12:15 PM
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
01-29-2023 12:17 PM
01-30-2023 11:43 AM
Hi Sam,
I checked with support as well and they confirmed that it is not possible yet. I have filled out an enhacement form.
09-01-2023 05:02 PM
Is it Dashboard Extender rule ?
09-15-2023 10:01 AM
It uses a dashboard data set rule to render the tree object. Because of the rule, I can individually change the icon of the tree view, based on a second parameter that holds the listed items. It isn't standard multi-select like with combo boxes, but it works.
06-16-2023 03:40 PM
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
09-14-2023 10:12 AM
Hi Christain,
Can you share a sample of the BR you are using to get a Tree View please?
Thanks
09-15-2023 10:02 AM
At the moment, I'm busi traveling, but i will try to post something, if I'm back.
01-08-2024 10:34 AM
Hi Christain,
Is it possible to receive a sample code for this second screen option?
01-19-2022 08:00 AM
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
11-30-2022 04:42 AM
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.
12-25-2022 08:13 AM
Hi Hamza, E#root.list(|!parameter!|) should do the job. Cheers
11-07-2022 10:38 AM
Is there a way to add a select All option, one that will mark all items when active and deselect all items when deactivated?
12-25-2022 08:18 AM
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.