KendoUI Grid 필터를 사용할 때 이상하게 생겼습니다. 내 그리드는 매우 간단하며 정의는 다음과 같다 :KendoUI 다른 페이지로 리디렉션하는 격자 필터
var cols = []; cols[0] = { field: 'name', title: 'Nome', width: "65%" }; cols[1] = { field: 'eMail', title: 'eMail', width: "20%" }; cols[2] = { field: 'city', title: 'Cidade', width: "15%" }; var cfgGrid = { dataSource: dsPersons, batch: false, change: onSelectedRow, selectable: "row", resizable: true, scrollable: true, sortable: { mode: 'multiple', allowUnsort: true }, filterable: true, editable: false, pageable: { numeric: false }, columns: cols }; gridPessoas = null; gridPessoas = $("#gridElem").kendoGrid(cfgGrid).data("kendoGrid");
그리드가 URL에 올바르게 표시됩니다
을하지만 필터링 할 때 kendoUI 열이 페이지로 리디렉션됩니다.
그리드가 정상이며 필터 값을 정의하고 필터 버튼을 클릭 할 때만 오류가 발생합니다.
이것은 ASP.NET MVC 4 사이트입니다. 나는 무슨 일이 벌어지고 있는지 상상할 수 없다.
나를 도울 수 있습니까 ???
미리 감사드립니다.
어떻게'DataSource''dsPersons'를 정의 했습니까? 'DataSource'에는 [serverFiltering'] (http://docs.kendoui.com/api/framework/datasource#serverfiltering-booleandefault) 옵션이 있습니다. true이면'transport.read '가 검색에 사용됩니다. 새로운 (필터 된) 데이터 – OnaBai
아니,하지만 난 serverFiltering가 허위로 정의하고, 너무 – mvbaffa
var에 dsPersons = {데이터 근무 않았다 : 명, 스키마 모델, 필터 : {}, serverPaging : 거짓, serverFiltering : 거짓, pageSize가 : 12 }; – mvbaffa