Skip to Content

How to highlight a row with dotted lines from a table


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,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 03 at 11:04 AM

    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") {




    Add comment
    10|10000 characters needed characters exceeded