on 11-23-2018 1:47 PM
Can we have any event for check box press and Unpress in multi select dialog box.
i have a requirement like i have to restrict number of check list items Checking. Example from other input filed item i am receiving number like "3" so i have make multi select dialog box maximum "3" should be selected in the list. User is not able to select more than 3 and should throw error message .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh..
table select dialog will not put any restrictions and also it doesn't have the the selection change event.
So what you can do is
1. you can use the table select dialog only and on confirm, you can check the selections and put an error message if no of selections exceed 3.
2. else you can use the normal m.table and put it inside a dialog box , now the m.table has selection change event where you can check if it is more than 3.
But it would be better and easier to use table select dialog and on confirm you can put the error logic.
BR,
Mahesh
If you are using any of the below controls, it is not possible..
https://ui5.sap.com/#/api/sap.m.SelectDialog
https://ui5.sap.com/#/api/sap.m.TableSelectDialog
If yes and if you can share your requirement, we can check if any other solution is possible..
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you asking about the multi-combo box ? Here are the events for multi-combo box. If you are looking on a specific item, you will have to get the reference of that item and use the events for sap.ui.core.Item
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.