oracle - Oracle Apex - 如何检查交互式网格的所有行是否已被删除?
问题描述
我想知道如何检查交互式网格的所有行是否已被删除。
有没有办法以编程方式检查?
解决方案
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
}
推荐阅读
- google-kubernetes-engine - “谓词 NodeAffinity 失败”
- ckeditor - 如何在 CKEditor 中禁用拼写检查?
- postman - Postman OAuth1.0a 签名不同
- python - 在 Matplotlib 中将普通文本字体与数学模式下的字体匹配
- dictionary - 如何初始化地图的地图
- java - 无法在 Eclipse IDE 上打开更大尺寸的 XML 文件
- python - Python 找不到已安装的模块,但 pip 可以
- ecmascript-6 - 尝试理解 ECMAScript-6 Function.prototype.bind() 的实际作用
- html - Rails radio_buttons 多个选择相同的属性,这可能吗?
- php - 处理文件并定位特定行