I have a table with about 500 data rows. The table is recording input from all employees of the organization about their New year resolution for the first half of the next year.
Columns in the table:
- Employee Name
- ID
- Resolution name
- Resolution update (after 3 months)
- Final result
- Ranking and
- Three more columns with “LIKE BUTTON” (each for Resolution name, update and final result).
LIKE BUTTON is similar to Instagram likes and is displayed as a division using inneHTML.
My concern is, I am already using a custom renderer to initialize the innerHTML into the table. I am storing the likes in a separate backend PHP file than the table’s data file.
I know that there is a way to reload only the specific division using:
$("#in-like").load("#in-like>*");
I have used this and renders the entire table itself which is fine for me, but then it should also take me back o the same cell, I was looking at.
For example, if I was at row 100 and I liked another employees Resolution at row 100, it should display the same row on reloading the table. Is there any way to do that?
I am sorry if I am bad at explaining questions.
(I edited the question to make more sense, apologies)