on 04-04-2019 11:54 AM
I want to implement filter functionality using MDK. If accessory type of checkmark is provided, i believe, by tapping on it should uncheck the field.
Can this be achieved?
Also, how can we have multiple selection achieved?
PFB Sample Screenshot.
Hello Experts,
We have used List picker for multiple selection. Can select multiple options but it saved as only one value which I selected first.
What we are analyzed means the list picker are passing as array in returns, so we did OnChange event listener rules with loop over collection.
To take the value from array into the string property in order to send to backend
as string property. But unfortunately we are not achieved it.
Any suggestion/solutions here?
Regards,Lavanya Ganapathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In summary, yes you can write your app such that when you tap on a cell it shows/toggles the accessory type checkmark. An alternative would be to use an icon in the icon stack (far left of the cell) to also show a similar checkmark. Both cases will require you to write a rule for the OnPress to either update a property on the underlying item or use a temporary storage like client data to store the selected state of each item.
In terms of multi-select, so while we don't currently have a native multi-select experience yet in MDK, you can provide a similar capability using what you are describing here and by tracking the selected states of the list items. Then you can have a rule loop over the selected items and process them accordingly.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Were you able to resolve your issue? If so, please post an answer so others might benefit from your findings.
User | Count |
---|---|
81 | |
11 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.