Closed keremcankabadayi closed 5 years ago
Is there a unique value or id in the table? If so, you can use the events to trigger a call your logic and a rowstyle function. Include a fiddle of some sample.
Use this.data.length
to solve the problem:
function rowStyle(row, index) {
console.log(this.data.length)
}
Hey!
I'm trying to
rowStyle
for only last row. My datas are changeable. Generally, total number of rows are between 3-50. I want to change the last row color every table.These are my steps and codes
I tried to getTotalRow with this
ToplamSatir
returns totalrow number correctly. But I can't use this number insiderowStyle
I know rowStyle is iterative function.with
index % 3
If JSFiddle is needed, i can provide. Any suggestion? Thanks in advance!