Oracle Apex - 如何检查交互式网格的所有行是否已被删除?

Oracle Apex - How to check if all rows of an interactive grid have been deleted?

我想知道如何检查是否已删除交互式网格的所有行。

有没有办法以编程方式检查它?

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
    }