Hi Ryan,
Query: “I was still getting that error with version 17.2.0.49-beta” && The fix was to not render the grid until the data source was instantiated:
At our end, Grid is rendered properly when we update the Grid DataSource in asynchronous way with read only properties. To replicate your reported scenario, we have prepared a sample to render Grid with empty dataSource and template column with readonly properties. On button click, we have updated the dataSource. We are not able to reproduce the reported issue at our end. Kindly download the sample from below
Kindly refer our model class
public class EmployeeData
{
public readonly int? EmployeeID = 1001;
public string FirstName { get; set; }
public string LastName { get; set; }
public string Title { get; set; }
public DateTime? HireDate { get; set; }
} |
After referring the sample if you still face the issue, kindly share the following details
- Share the Grid rendering code.
- Share your model class of your dataSource
- Share the screenshot of script error or exception you are facing.
- If possible reproduce the reported issue in the provided sample.
- Share the exact details about your issue.
Requested details will be helpful for us to validate the reported issue at our end to provide the solution as early as possible
Regards,
Vignesh Natarajan.