我一直潜伏在 jqGrid 文档中,但找不到任何类似“ondatapopulate”事件的东西。实际上我想向 jqGrid 的行添加自定义格式,但在填充行之前我不能这样做。我需要绑定(bind)到一个事件,该事件在加载所有行时触发。
任何帮助将不胜感激。谢谢,
最佳答案
您可能想看一下 gridComplete
事件,尽管您可能还想看一下 loadComplete
。来自Events page of the documentation :
gridComplete
- This fires after all the data is loaded into the grid and all other processes are complete. Also the event fires independent from the datatype parameter and after sorting paging and etc.
loadComplete
- This event is executed immediately after every server request.
关于javascript - jqGrid 数据填充事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7485797/