row filtering
row filtering
calello
Posts: 2Questions: 2Answers: 0
Hi folks!
I use datatable in wordpress (and this is great!). I want to filter the rows of the table with the name of the user that is logged in. The username is also a field of the table.
For example: I am logged in the site as Pippo, so I can see only the rows that in the user column the value is Pippo.
Thank you for you help,
DC
This discussion has been closed.
Answers
I bless you, my son, to filter the rows.
What is the question?
Hi calello,
How is the data for the table being populated - is it making an Ajax request to get the data from the server? If so, it would be up to whatever script it reading and returning the data from the server to filter out the data.
If the table is raw HTML, then you could use
search
to remove the items you don't want or possibly a custom search plug-in.Allan