I have a grid that has a couple of dateonly fields. There can be dates or null for the data supplying the information. Which ends up looking like this:
I would rather see blank than 1/1/0001, but I am not sure how to do this.
Here is the code for the grid:
<TelerikGrid TItem="EngineModel"
Data="@EngineShowList"
EditMode="@GridEditMode.Inline"
OnEdit="@EditHandler"
OnUpdate="@UpdateHandler"
@ref="@Grid">
<GridColumns>
<GridColumn Field="ProductionLine.EffectiveGuid" Title="EffectiveGuid" FieldType="@typeof(Guid)" Editable="false" Visible="false" />
<GridColumn Field="ProductionLine.EffectiveFrom" Title="From" FieldType="@typeof(DateOnly)" Editable="true" Width="20%">
<EditorTemplate>
<TelerikDatePicker Id="EffFromDate"
@bind-Value="@SelectedFromDate"
DebounceDelay="250"
Min="@Min"
Max="@Max">
</TelerikDatePicker>
</EditorTemplate>
</GridColumn>
How would I get the display to just show blank for 1/1/0001?
Thanks!