Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82284

Export TXT based on some condition

$
0
0

I have my datatable with some records (comes from db) and some export buttons (like .txt).
So I can export via buttons in txt, and i have all the table. I need now to export teh result if some condition is in the record.
For example i have
NAME | SURNAME | AGE
mary | rossi. | 22
paul. | rossi |
luke. | rossi | 40

I would luike to have a txt exported file where if no age is present it says "no-age" otherwise is reports the current age...
Any idea?


Viewing all articles
Browse latest Browse all 82284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>