How to set the date format for a date column? #133
garybentley
started this conversation in
General
Replies: 1 comment
|
Hi Gary, I think that is a valid request, however it opens up a rabbit hole and I don't have the resources at the moment to implement and maintain a complete zoo of possible controls.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
If I have a column defined as:
{ id : 'date', title : 'Date', html : '<input type=date />' }How do I change the date format?
Couple of other issues:
Also, please have it so that a column has a data type. The 'html' is klunky and error prone.
For example:
{ dataType : 'date' }Is much cleaner and indicative of what should happen with the column.
Or:
{ dataType : 'select', options : [ { name : 'Hello World', value : '1' } ] }The default would be dataType : 'text'.
The 'html' value could then be either html or provide a function that would generate the html, if the user wished to override the default behaviour.
All reactions