on 01-18-2018 2:10 PM
Hello,
We've just updated our system to SAP MII 15.1 SP3 Patch 31 and some of our dashboards are not running like they should i5Grids in particular.
Using the method
i5Grid.getGridObject().getCellValue(rowIndex, colIndex);
does not return the value of the specified cell and returns blank instead.
I would really appreciate any help at all.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Your Title Here---</TITLE>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv="pragma" content="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>
<BODY>
<SCRIPT type="text/javascript">
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart,i5Command">
</SCRIPT>
<SCRIPT>
var c = new com.sap.xmii.grid.init.i5Grid(<Displaytemplatename>,<Querytemplatename>);
c.draw('myDiv1');
console.log(c.getGridObject().getCellValue(1, 2));
</script>
<body>
<div id="myDiv1"></div>
</BODY>
</HTML>
Regards,
Yinka.
Hello Yinka,
Please, navigate to SSCE and create a dashboard with 1x2 layout. On one side add the iGrid5 created in MII Workbench, on the other add a test button with a method to call console.
Then re-check the Debugger to confirm that the value can be received with the method mentioned by you. I attach a screenshot from my system to illustrate the sample.
I think you may then the code of that SSCE page as a sample.
Br, Alex.
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.