Hello,
I use the following MVC Grid with AutoGenerate columns because we use a query builder and the result are always different resultsets with different columns...
the Problem with that solution is the Format for specific columns like date, datetime and boolean, because they are not formatted the right way
is there a possibility to format specific columns if to use AutoGenerate columns?
@(Html.Kendo().Grid<dynamic>()
.Name(
"gridEQ"
)
.Columns(columns => columns.AutoGenerate(
true
))
.Pageable()
.Sortable()
.Scrollable(s => s.Height(
"auto"
))
.NoRecords()
.Filterable(f => f.Enabled(
false
))
.AutoBind(
false
)
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(100)
.Read(read => read.Action(
"ReadAsync"
,
"Home"
).Data(
"GetQuerySQL"
))
.Events(e => e.Error(
"gridError"
))
)
)