Datatables Cell Compare

Datatables Cell Compare

reallyslickreallyslick Posts: 3Questions: 2Answers: 0

I am wondering if data tables has the ability to compare the cells in two or more rows? ...

So, you could select many rows. execute the compare. (maybe datatables would ask what is the golden row?) then it would highlight which cells are not matched compared to the golden row cells.

Thanks!

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    Thats not built into Datatables but the code could be written to do this. Without knowing more about your requirements I would probably use rowCallback for this. I would use a boolean variable in rowCallback to determine if a compare should be done. If so then each row that is drawn can compare to the the "golden row" and highlight the cells as appropriate.

    Kevin

This discussion has been closed.