on 12-29-2014 1:11 PM
Hi,
I am facing trouble to select the first row by default automatically.I used sap.m.table for which data is coming from odata.Please help me to achieve this.
Regards,
Koti Reddy
If you would have tried using the SCN search, you'd have found the exact same question which was asked some 10 days ago
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You, I might have missed the perfect Search!!
It is exact link which I need. I used below code from updateFinished() method to set initial row as selected as data comes from OData.
var ventable=this.getView().byId("table");
var venitems=ventable.getItems();
venitems[0].setSelected(true);
Regards,
Koti Reddy
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
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.