on 01-10-2015 6:21 AM
Hi,
Is there any property or method which gathers the information about number of selected rows with checkbox in sap.m.table.Please share recommendtaions/alternatives.
Regards,
Koti Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I saw your example which is showing the selected rows context but not the number of total selected rows.
I already achieved that functionality with below code.Please let me know the property/way to get the count of total number of selected rows.
onSelectionChange1: function(oEvent){
var oSelectedItemContext = oEvent.getParameter("listItem").getBindingContext();
var selectedItems = sap.ui.getCore().byId("viewid").byId("tbl").getSelectedItems();
}
If I select only one row , it should display 1. If I select 3 rows,it should display as 3.
Regards,
Koti Reddy
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.