Hi Brain,
Thank you for contacting Syncfusion support.
We were able to reproduce the issue at our end. To overcome this problem, we suggest you to use type property of Columns in Grid. Because you have rendered grid with empty dataSource so we need to specify the type in Grid columns while rendering empty dataSource in Grid. Please refer to the below help document, code example and sample.
<e-columns>
<e-column field="OrderID" header-text="Order ID" is-primary-key="true" type="number" validation-rules='new Dictionary<string, object>() { {"required",true}, {"number",true} }' text-align="Right" width="75"></e-column>
<e-column field="CustomerID" header-text="Customer ID" type="string" validation-rules='new Dictionary<string, object>() { {"required",true}, {"minlength",3} }' width="80"></e-column>
<e-column field="EmployeeID_FirstName" header-text="Employee ID" type="string" datasource="ViewBag.data" edit-type="@(EditingType.Dropdown)" text-align="Right" width="75"></e-column>
<e-column field="Verified" header-text="Verified" default-value="false" edit-type="Boolean" type="boolean" width="110" text-align="Left"></e-column>
</e-columns> |
Regards,
Jayaprakash K.