change row backgroundcolor and search box
change row backgroundcolor and search box
Hi, I have started to use jquery datatable nearly for 2 days. I have some questions. please help.
1) How can I change row background color of my datatable. for example, first row is gray, second row is white, third one is gray, fourth one is white, etc.
2) I want to use search box. after seeing search result on datatable, ı want to use those search results. How can I retrieve these data(search results.).
thanks in advance
1) How can I change row background color of my datatable. for example, first row is gray, second row is white, third one is gray, fourth one is white, etc.
2) I want to use search box. after seeing search result on datatable, ı want to use those search results. How can I retrieve these data(search results.).
thanks in advance
This discussion has been closed.
Replies
a lot of records(people records) are shown in the datatable. After searching by using search box, I want to take the values of the remaining rows. and so I can send an email to those people who are now shown on datatable. I need the first column of the remaining rows.
Please help,
Thanks in advance
You could possibly use something like http://datatables.net/plug-ins/api#fnGetColumnData to get the data. You might need to modify it so it doesn't give you the data on the current page.
Allan