or

var dropdownlist = $("#titles").data("kendoDropDownList");dropdownlist.list.width(500);dropdownlist.list.height(500);var myDataSource = [{ firstname: 'me', lastname: 'you', Age: 5 }]; $('#grid')..kendoGrid({ data: { dataSource: myDataSource , pageSize: 500 , group: { field: '
firstname ' , dir: "asc" }, groupable: false, columns: [ { field: 'firstname' , title: ''} /* and so on */}); firstname and then sub grouping on lastname when creating the grid. I know it is possible when the grouping is enabled and user can drag and drop multiple columns for nested groping, but I want to restrict the user from selecting himself and do the grouping on showing.
Maybe something like
group: [{ field: '
firstname ' , dir: "asc" },{ field: '
lastname ' , dir: "asc" }]
public JsonResult read() { return this.Json(db.Weapons, JsonRequestBehavior.AllowGet);}