Hi
I've done some searching but can't find a solution to this.
Essentially, I have a settlement date column in my grid, however, this column can be null because the settlement date may not have been set yet.
How do I show a date if there's a date entered, blank string if there's no date entered yet?
I'm using JSON data in my datasource. I couldn't find a way to bring NULL dates in JSON so I'm currently bringing in the NULL dates as 01/01/0001 (which, by searching, seems to be the earliest date in JSON).
My column at the moment is:
I want to allow batch editing of the grid.
Any suggestions or direction from someone who overcame a similar problem would be appreciated.
Thanks, Alison
I've done some searching but can't find a solution to this.
Essentially, I have a settlement date column in my grid, however, this column can be null because the settlement date may not have been set yet.
How do I show a date if there's a date entered, blank string if there's no date entered yet?
I'm using JSON data in my datasource. I couldn't find a way to bring NULL dates in JSON so I'm currently bringing in the NULL dates as 01/01/0001 (which, by searching, seems to be the earliest date in JSON).
My column at the moment is:
columns: [ { field: "SettlementDate", width: "150px", title: "Settlement Date", format: "{0:d/MM/yyyy}", filterable: { ui: "datetimepicker" } }]Any suggestions or direction from someone who overcame a similar problem would be appreciated.
Thanks, Alison