Hello,
I have a challenge-
The challenge is -
· Create a Task list
· Add records with different statuses
· Add task list to a page (like list view web part)
· Highlight the records of different statuses in different color.
· Add a legend before the task view web part to give instructions about the colors
Output should be as follows
| Not Started | In Progress | On Hold | Completed |
| Title | Assigned To | Due Date | % Completed | Status |
| Task 1 | ABC | 10/02/2016 | 0 | Not Started |
| Task 2 | Xyz | 1/02/2016 | 20 | In Progress |
| Task 3 | Pqr | 31/01/2016 | 50 | On Hold |
| Task 4 | AAA | 1/2/2016 | 100 | Completed |
Please help me out to achieve this.

Vipin TyagiPosted Feb 4, 2016, 2:44 AM
Ankit SaxenaPosted Feb 3, 2016, 12:20 PM
Iterate through the table on document.ready function using jquery. Then within the iteration do foreach for rows. Check the value of Status column in the row and apply css to that row.