2016-08-24 77 views
-1

夠簡單吧?我只需要知道在.html中定義網格時要執行此操作的語法。使用這個例子,它會去哪裏?設置Kendo網格控件的行高?

$(document).ready(function(){ 
    $("#grid").kendoGrid({ 
     groupable: true, 
     scrollable: true, 
     sortable: true, 
     pageable: true, 
     columns: [{ 
      field: "FirstName", 
      title: "First Name" 
     }, 
     { 
      field: "LastName", 
      title: "Last Name" 
     }], 
     dataSource: { 
      data: [{ 
       FirstName: "Joe", 
       LastName: "Smith" 
      }, 
      { 
       FirstName: "Jane", 
       LastName: "Smith" 
      }] 
     } 
    }); 
}); 
+1

你試圖改變使用CSS行高度指定在網格中的TR height屬性? –

回答