1

グリッドの行が作成された後、行フィールドを読み取り専用にしたい。editModeの「row」と「rowedittemplate」の両方で機能させたいです。これどうやってするの?

4

1 に答える 1

1

更新機能で列設定を構成し、編集不可にしたい列の更新のために readOnly を true に設定する必要があります。

$(element).igGrid({
    features: [
        {
            name: "Updating",
            columnSettings: [
                { columnKey: "Key", readOnly: true }
            ]
        }
    ]
});

API ドキュメントは次のとおりです。

于 2014-09-29T12:50:02.497 に答える