I am able to provide a defaultValue for a boolean column but not a literal for a string column.
This compiles:
<e-grid-column field="AnnualGivingInd" headerText="Annual Giving" displayAsCheckBox="true" textAlign="Center" editType="booleanedit" type="boolean" defaultValue="false" validationRules="@(new { required = true })"></e-grid-column>
This does not compile with error "The name 'A' does not exist in the current context":
<e-grid-column field="CampusCode" headerText="Campus Code" defaultValue="A" type="string"></e-grid-column>
The example in the documentation looks pretty straightforward (https://ej2.syncfusion.com/aspnetcore/documentation/grid/edit/):
<e-grid-column field="CustomerID" headerText="Customer ID" defaultValue="HANAR" type="string" width="120"></e-grid-column>
How can I default a literal for a string?