I would love to avoid having to create columns by hand, and just rely on auto generation. I know I can set a title of the column by adding a DisplayName attribute. However, when I try to set a date format, it's breaking.
Here's what I am trying to do
[DisplayName("Invoice Date")][DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]public DateTime? InvoiceDate { get; set; }However, the date still displays with the time.
Also, is there a way to get a column to be hidden through attributes alone?
