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

Oracle Apex-如何检查交互式网格的所有行是否已被删除?,oracle,oracle-apex-5,oracle-apex-5.1,Oracle,Oracle Apex 5,Oracle Apex 5.1,我想知道如何检查交互式网格的所有行是否已被删除 有没有一种方法可以通过编程来检查这一点 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

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

有没有一种方法可以通过编程来检查这一点

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
    }