or

<script id="subfilters-template" type="text/x-kendo-template"> # if(data.Selected) { # <label class="selected #: CssClass #"> # } else { # <label class="#: CssClass #"> # } # <input type="radio" name="subfilters" value="#= Value #" data-bind="click: onSubFilter_Click, checked: selectedSubFilter" /> #= Text # </label></script>onSubFilter_Click: function (e) { var subFilters = this.get("subFilters"); for (var i = 0; i < subFilters.length ; i++) { if (e.data.Text === subFilters[i].Text) { subFilters[i].Selected = true; }else{ subFilters[i].Selected = false; } } this.set("subFilters", subFilters); $eceViewModel.refreshEncounters();},span.k-pager-info.k-label{ text-align:left;}$searchTable.kendoGrid({ height: height, sortable: true, selectable: false, navigatable:true, resizable: true, reorderable: true, columnResizeHandleWidth: 10 ,pageable: { pageSize: 10, pageSizes:[10,20,50,100], buttonCount: 5, input:true, messages:{ page:"Section", itemsPerPage: "Select to show more", display: "<span style='text-align:left;' >Showing {0}-{1} from {2} data items</span>" } }});$(document).ready(function () { $("#gridWrapper").kendoGrid({ dataSource: { type: "json", transport: { read: "@ParentURL", cache: false }, schema: { model: { id: "Identity", fields: { Identity: { type: "string" }, CarrierName: { type: "string" } } } }, pageSize: 50 }, height: 470, scrollable: true, detailInit: detailInit, sortable: true, filterable: true, pageable: false, resizable: true, reorderable: true, selectable: "Multiple", //"template": "<input type=\"checkbox\" />" toolbar: [{ text: "Select All", className: "SelectAll" }, { text: "Assign Load", className: "AssignLoad" }, { text: "Unassign Load", className: "UnAssignLoad" }, { text: "Update", className: "Update" }], columns: [ { field: "Load", title: "Load", width: 120 }, { field: "Routes", title: "Routes", width: 120 }, { field: "WHS", title: "WHS", width: 120 }, { field: "CustomerName", title: "Customer", width: 220 }, { field: "OrderNum", title: "Order#", width: 100 }, { field: "City", title: "City", width: 100 }, { field: "Status", title: "Status", width: 100 }, { field: "PONum", title: "PO#", width: 120 }, { field: "ShipDate", title: "Ship Date", width: 120, template: '#= kendo.toString( toDate(ShipDate), "MM/dd/yyyy" ) #', type: Date }, { field: "DeliveryDate", title: "Delivery Date", width: 120, template: '#= kendo.toString( toDate(DeliveryDate), "MM/dd/yyyy" ) #', type: Date }, { field: "CaseCount", title: "Case Count", width: 120 }, { field: "ExpectedWgt", title: "Expected Wgt", width: 120 }, { field: "ExpectedSkids", title: "Expected Skids", width: 120 }, { field: "DeliveryCarrier", title: "Delivery Carrier", width: 120 }, { field: "StopNum", title: "Stop#", width: 120 }, { field: "LoadStopNumber", title: "Seq#", width: 120 }, { field: "LineHaulCarrier", title: "Line Haul Carrier", width: 140, //template: "#=CarrierName#", //editor: reportEditor }, { field: "Comments", title: "Comments", width: 120 }] }).attr("id", "GridOptions");function detailInit(e) { $("<div/>").appendTo(e.detailCell).kendoGrid({ dataSource: { type: "json", transport: { read: "@ChildURL", cache: false }, filter: { field: "Identity", operator: "eq", value: e.data.OrderNum }, pageSize: 5 }, height: 200, scrollable: { virtual: true }, sortable: true, filterable: true, pageable: true, columns: [ { field: "ProductCode", width: 30 }, { field: "Description", width: 50 }, { field: "Cases", width: 30 }, { field: "Weight", width: 30 }, { field: "Skids", width: 30 }] }).attr("id", "GridChildren");}$("#captureDate").kendoDatePicker();