Hi Everyone,
Today I was working on adding a button on the some sub grid and on click I have to refresh that Grid after doing some business operation. To refresh the grid, we have to get the Grid Context. This can be easily achieved by passing SelectedControl as a CRM Parameter.
Primary Control - Gets the FormContext
Selected Control - Gets the GridContext
Hope this helps.
--
Happy CRM'ing
Today I was working on adding a button on the some sub grid and on click I have to refresh that Grid after doing some business operation. To refresh the grid, we have to get the Grid Context. This can be easily achieved by passing SelectedControl as a CRM Parameter.
function onSubgridButtonClick(selectedControl) {
if (selectedControl.name == "ABC") {
// Your logic
}
}
Primary Control - Gets the FormContext
Selected Control - Gets the GridContext
Hope this helps.
--
Happy CRM'ing
Gopinath
No comments:
Post a Comment