Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

SubGrid Referesh and grid Event

$
0
0

Hi All, 

i'm sorry, but i am new to CRM... could you please help me in this :

i have this script that for subgrid

function AddEventToGridRefresh(gridName, functionToCall) {
// retrieve the subgrid
var grid = document.getElementById(gridName);
// if the subgrid still not available we try again after 1 second
if (grid == null) {
setTimeout(function () { AddEventToGridRefresh(gridName, functionToCall); }, 1000);
return;
}
// add the function to the onRefresh event
grid.control.add_onRefresh(functionToCall);

First: is this way supported ? 

Second: i need a supported way for functionToCall, that calls a webservice by sending values from the grid itself, this webservice returns VALUES, these values must be updated in that grid 

Thanks 


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>