Skip to content

Grid通过api的方式设置total的时候如何不重置custom里的设置 #7079

@im-here

Description

@im-here

不使用proxyConfig的情况下想要设置total目前使用的方式如下:
gridApi.setGridOptions({ pagerConfig: { total: count }, });

但是这样带来一个新的问题就是调用gridApi.setGridOptions时候会重置custom里的设置,比如我勾选了一些列不展示,但是调用gridApi.setGridOptions后又会默认变成全选

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions