我想知道如何检查交互式网格的所有行是否都已删除。
是否可以通过编程方式进行检查?
答案 0 :(得分:0)
I got an answer to this,hope this helps for those who are in need.
Fetch your grid info :
var igrid = apex.region ("regionStaticID").widget().interactiveGrid("getViews", "grid");
{where regionStaticID is the interactive grid static id}
if(igridL.model._numInsertedRecords === 0)
{
// do whatever you want here when there are no rows in the grid
}