7

I have a kendo grid (version 2012.3.1114) that displays quite a bit of data.

The grid scrolls vertically and does not page, as this is a requirement we have.

Is there any way that the grid can maintain it's headings visible as the user scrolls down? I'm looking for something similar to how Excel behaves when you select the "Freeze Top Row" option.

4

1 に答える 1

7

テーブル本体の高さを次のように定義します

$("#grid").kendoGrid({
    dataSource: datasource,
    pageable  : false,
    height:     300,
    columns   : [
        ...
    ]
});

:高さは、テーブルの本体のピクセル単位の高さです(ヘッダーまたはフッターは含まれません)。

于 2013-03-05T11:02:35.390 に答える