Hi,
I have two different issues related to dates on grid:
1) I have two date/time columns (created_at and updated_at) which return a timestamp from a database. I want to render the columns in a dd/MM/yy format, but sometimes the grid randomly ignores the formating and display the columns as per Pic1. Here is how I'm formating the columns:
<e-column
field='created_at'
headerText='Created At'
type='date'
format='dd/MM/yy'
skeleton='short'
width='150'
></e-column>
<e-column
field='updated_at'
headerText='Updated At'
type='date'
format='dd/MM/yy'
skeleton='short'
width='150'
></e-column>
2) On another grid, I have a column called need_date which returns a date in the format yyyy-mm-dd from the database, and some of those values might be null. When trying to filter the data on that column the spinner runs indefinetly and the filtering data never gets displayed. See Pic2.
<e-column field='need_date' headerText='Need Date' width='150' type='date' format='dd/MM/yy' editType='datepickeredit' :edit='dateParams'></e-column>
dateParams: { params: { format: 'dd/MM/yy', value: new Date() } },
Attachment:
Downloads_c97f4aa4.zip