rowCallback is not working

rowCallback is not working

polachanpolachan Posts: 101Questions: 50Answers: 0

Please can you suggest my code where is the problem. I have applied to highlight the specified column having meet the condition
Here I am trying to give red back ground color having the last name ='Nixon'. Please can you help
https://jsfiddle.net/06zvdwyL/9/

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    edited March 2019 Answer ✓

    Hi @polachan ,

    Javascript counting generally starts from 0 - so data[2] refers to the "Position" column, the third one. Change that to be 1 and all should be good.

    Cheers,

    Colin

  • polachanpolachan Posts: 101Questions: 50Answers: 0

    Thanks very much

This discussion has been closed.