Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Changing the Display Template and Query Template of an existing iGrid

The following code is not working as expected. The Display template does update but the data from the query is not returned. Of course, I have tried to plug in default parameters, but if I try to change the Display Template or Query Template it fails to run after passing the setParams. Your help is appreciated.

function jsChangeGrid(var1, var2) {
	// Attach to the applet at the DOM
	var domGrid = document.iGrid
	// Attach to the grid object
	var objGrid = domGrid.getGridObject();
	// Attach to the query object
	var queryObj = domGrid.getQueryObject();

	// Set query template
	// Set display template
	// Set the query parameters for the grid object

        // Update the iGrid

Former Member
Not what you were looking for? View more on this topic or Ask a question