Highlighting the table But displaying number of rows 0

Even I tried my best to make it dynamic

Hi me and Ranjitha are collegues, we working on this together. Kindly have a look at this screenshot and help

even when displayed zero rows, it is highlighting the right table

wectrl id=*-grid-container

*- it has some unique number

can we get this by get ancestor? I used get attribute I didn’t get Id, but class I got with some text+that unique number