RameshkumarNovember 20, 2015 at 7:48 am #973
I want to highlight certain values in the multiselect control on page load (which is selected on default). It seems to be not working.
Please look at the attached document. Is it bug in the control ? or do we have any workaround ?SPARK SupportNovember 20, 2015 at 1:24 pm #975
Unfortunately, this appears to be a bug. We will be working on this and get a fix soon.RameshkumarNovember 23, 2015 at 1:50 pm #980
thank you for the update.SPARK SupportNovember 24, 2015 at 5:43 am #983
We have fixed the bug and are in testing now. If this is an urgent need let us know and we can talk about getting you an update just for the multi-select js file, otherwise you can pick up the fix in the next release.
One other thing that I need to point out. The binding for the SPARK Multi Select control must be a list of simple types. In your example you have a list of Name Value Pairs.
JohnRameshkumarNovember 24, 2015 at 6:20 am #984
Currently I am exploring SPARK with community edition, we will get the update once we purchase the enterprise edition.
Besides that, I am wondering, do you have any plan to allow NVP binding for Multi select/Single select? In our project, all our list coming from DB which is a key value pair. If the controls allows only list of string, it is a double work for us to get the key.
Please let me know your thoughts.
RameshSPARK SupportNovember 25, 2015 at 6:39 am #1002
The binding for our selects (Single and Multi) is only to a simple type/list of simple types. We are well aware that this is different from the IBM Select and this was a conscious decision on our part. Just to be 100% clear (I am certain you already know this) the binding I am referring to is on the General tab of the control’s property sheets. When using a “bound” SPARK select the bound variable is set to the key/keys of the selected item/items. If you needed to set a name value pair, it should be a simple matter to use a SPARK Data control pointing to the NVP variable to hold the result. In fact, if you were doing this often enough you might want to wrap the select controls with a Data control in a composite coach view that you could reuse.
You must be logged in to reply to this topic.