2014-01-17 3 views
0

KendoUI에는 Firefox에서만 작동하며 Chrome에서는 작동하지 않는 특정 위젯이 있습니다. 그리드의 편집 명령 단추와 같습니다.Chrome에서 KendoUI 수정 버튼을 작동시키는 방법은 무엇인가요?

 { command: [ { name: "Edit" ,text:'', imageClass: "k-icon k-i-pencil", 
           click: function(e) { 
            //some code 
           } 

클릭하면이 기능을 Chrome에서 전혀 호출하지 않지만 Firefox에서는 완벽하게 작동합니다.

어쨌든 두 브라우저에서 작동하도록 수정할 수 있습니까? 가 크롬 및 FF 모두에서 작업

{ command: ["edit", "destroy"], title: " ", width: 190}]이처럼 inline 그리드 바인딩

답변

0

,

$("#grid").kendoGrid({ 
        dataSource: dataSource, 
        navigatable: true, 
        pageable: true, 
        height: 430, 
        groupable: { 
         messages: { 
          empty: "Drop columns here" 
         } 
        }, 
        toolbar: ["create"], 
        columns: [ 
            "ProductName", 

            {field: "UnitPrice", title: "Unit Price", width: 110 }, 
            { field: "UnitsInStock", title: "Units In Stock", width: 110 }, 
            { field: "Discontinued", width: 110 }, 
            { command: ["edit", "destroy"], title: " ", width: 190}], 

        editable: "inline" 
       }); 

그리드 명령.

+0

내 사용자 정의 편집 명령입니다. 인라인 편집을 사용하고 있지 않습니다. – nette

+0

@nette 사용자 정의 그리드 명령에 사용하는 그리드의 종류는 무엇입니까? – Jaimin

관련 문제