I am trying to pass custom fetchxml to a sub grid on a new dashboard I created. The problem is the dashboard does not use the name I specified in design mode to uniquely identify the grid.
The code I have that works on sub grids on standard entity forms
var subGrid = document.getElementById("mygrid");
subGrid.control.SetParameter("fetchXml", fetchxml);
subGrid.control.refresh();
I have tried to identify the grid by looking at the html mark up. I am able to get the control from this id which appears to be grid
document.getElementById('Component7784664_span').control
However, it does not have the 'SetParameter' or 'refresh' method.
Any help appreciated.
thanks
事实证明页面已被缓存,在清除缓存并刷新页面后,可以使用分配的ID找到网格。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.