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

Problem with "type": "date", it does not work

$
0
0
I have tried to insert a date field, but when I inserted the code below, the table collapses, but when I change the type to text it works fine.
Do you know why it isn't accepting the type "date"?

Code of the date field, that does not work and collapses the table:
				"label": "Data",
				"name": "data",
				"type": "date",
				"dateFormat": "dd\/mm\/y",

The same code but edited the field to "text" type, and removed the "dateFormat" option, and the table works fine:
				"label": "Data",
				"name": "data",
				"type": "text"

Viewing all articles
Browse latest Browse all 82117

Trending Articles



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