on 03-26-2019 9:53 AM
Hi,
I have a requirement. In the second page of my application, there are two icon tab filters with a table in it( there is a column of Locked/unlocked, in which for few rows in a table is having locked icon and for others having unlocked icon).
The requirement is after navigating to second page from first, it should highlight the first unlocked row with dotted lines.
Kindly help me if anyone has solution to this.
Thanks & Regards,
Ayesha
Got the answer by myself...
write a function inside a property named updateFinished in sap.m.Table
Inside the function, get items from oEvent.getSource() and write the below code. it works..
for (var i = 0; i < aItems.length; i++) {
var icon = aItems[i].getAggregation("cells")[0].getSrc();
if (icon === "sap-icon://unlocked") {
aItems[i].focus();
break;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.