on 08-03-2017 3:49 PM
Hi,
I am trying to get the selected rows and show them in some popup.
How we can do this please give some example.
Thanks
Trigger the selectionChange event of the Table control whose mode is SingleSelectMaster.
onSelectChange: function() {
var oTable = this.getView().byId("idTable");
var oRow = oTable.getSelectedItem().getBindingContext().getObject(); //selected row
}
Access the individual property of the selected row and view it in your dialog fragment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Step 1: Get access to the table by its ID.
Step 2: Use the method - getSelectedItems()
This will provide you the items selected by the user.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Store selected entries in a JSON model.....access the same in popup to display
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.