Hi Team,
I am facing issue in ClientDetailTemplateId Grid when using checkbox, data coming from database is true checkbox selected but if we checkbox checked or uncheck then checkbox values not sending proper values in jquery bellow sending code for grid.
@(
Html.Kendo().Grid<PNWorklistSupplierGridViewModel>()
.Name("pnwlGrid_#=Id#") // template expression, to be evaluated in the master context
.Columns(columns =>
{
columns.Command(command =>
{
command.Custom("editPn1").Text(" ").IconClass("k-icon k-i-pencil").Click("OpenSupplierEditWindowPN");
}).Width(40).HtmlAttributes(new { @style = "text-align: center;" });
columns.Bound(e => e.Check).Title("test").Width(150)
.ClientTemplate("<input type='checkbox' \\#=Check? checked='checked' : '' \\# />")
.HeaderHtmlAttributes(new { @class = "headerText" }).Sortable(false).Filterable(false).HtmlAttributes(new { @style = "text-align: center;" });
If Check checkbox checked then js file getting Check values false
please check and let me know any thing else required.
Thank you!