on 12-04-2015 1:37 PM
Hello everyone,
I want to pass parameters to I5Grid.What is the syntax for I5Grid and also,want the syntax to pass parameters to I5Grid.
Please help me with this.
Hi Deepali,
Try -
<SCRIPT>
var oGrid = new com.sap.xmii.grid.init.i5Grid("Youri5GridTemplate", "YourQueryTemplate");
var oQuery = oGrid.getQueryObject(); //Get Query Object
//Pass parameters to Query, can pass these parameters dynamically as well
oQuery.setParameter("Param.1","000876315670"); //ProductionOrder
oQuery.setParameter("Param.2","0070"); //Operation
oGrid.setGridWidth("640px");
oGrid.setGridHeight("400px");
oGrid.draw("div1");
</SCRIPT>
<DIV id="div1"></DIV>
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.