网格(客户端 API 参考)

网格由 getGrid 方法返回。 使用 Grid 方法访问有关网格中数据的信息。

let myGrid = gridContext.getGrid();

Methods

Name Description 适用于
getRows 返回 Grid 中每个 GridRow 的集合。 只读和可编辑的网格
getSelectedRows 返回网格中每个所选 GridRow 的集合。 只读和可编辑的网格
getTotalRecordCount 返回与视图的筛选条件匹配的记录总数,不受单个页面中可见的数字的限制。 只读和可编辑的网格

GridRow
模型驱动应用中的网格和子网格