Not Getting Check Box Value

Nov 21, 2013 at 9:10 AM
i have render a check box in my grid and onRowSelect, gettign a row but not getting that check box is checked or not.

How i can get check box value for particular row???

Nov 22, 2013 at 3:30 AM

I don't understand the scenario. Why you need to get checkbox state in onRowSelect event?

But you can render chackbox with specific name and get it using jquery selector like:
.RenderValueAs(o =>     @Html.CheckBox("checkbox", new { id = "checkbox_" + +o.OrderID }))

pageGrids.ordersGrid.onRowSelect(function (e) {
            console.log($("#checkbox_" + e.row.OrderID).is(":checked"));
Nov 25, 2013 at 9:18 AM
Thank You...

Base on checkbox state i need to hide & show partial view.

i will try your solution & update you....