Hi,
I am using Syncfusion Hierarchy grid for ASP.Net MVC application. I have a business object collection that i want to bind to my grid. I have a DateTime property in my object. I am getting format exception when i tried to bind my collection with syncfusion grid.
Exception detail - "{"Input string was not in a correct format."}"
If i dont bind the dateTime property in my grid it is working fine.
Please see my code snippet below.
.ChildGrid(child =>
{
child.ChildGridTemplate(Html.Syncfusion().Grid<myObject>("ChildGrid_${id}")
.Mappers(map =>
{
map.Action("myMethod", new { id= "${id}" });
})
.Column(column =>
{
column.Add(a => a.Name);
//column.Add(a => a.TCDate); -- Giving exception
})