Select which data will enter the table?
Select which data will enter the table?
Zaguri
Posts: 2Questions: 1Answers: 0
in DataTables
Hi, how can i select which data will insert to table.
for example i have a defualt in my table
! [] (https://datatables.net/forums/uploads/editor/jb/74h6puzo6zk9.png "")
but i am want just them are start in "c" like the second row. insert to table.
it's posiable?
thank to the helpers.
Answers
Hi,
Data table takes a row from my API, I do not want this row.
Is there a way around it?
Example
I do not want the first row in the table only those that start with the letter "c"
![](! [] (https://datatables.net/forums/uploads/editor/jb/74h6puzo6zk9.png "") "")
thank to the helpers.
Here are some options:
ajax
you can useajax.dataSrc
as a function to remove the rows you don't want.If you still need help then please provide us with more information about your environment. Maybe a link to your. page or a test case replicating the issue so we can get a better understanding of what you have.
Kevin