on 05-13-2014 9:26 PM
I created i5Grid, but it is not rendering.
It suppose to show LotID, MaterialName, HoldStatus, QuarantineStatus, StartDate, EndDate/
Hi Amr,
You are getting any Error in browser console ?
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAPUI5 Runtime 1.20.3
Here is my code - only - the i5 Chart is displaying - the i5 Grid is showing blank.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"> </SCRIPT>
<SCRIPT>
var i5Chart1 = new com.sap.xmii.chart.hchart.i5Chart("Projects Status/Chart/Projects Status", "Projects Status/WebServices/Projects_Status");
i5Chart1.setChartWidth("640px");
i5Chart1.setChartHeight("250px");
i5Chart1.draw("1");
</SCRIPT>
<SCRIPT>
var Grid = new com.sap.xmii.grid.init.i5Grid("Projects Status/Chart/Projects_Status_i5Grid", "Projects Status/WebServices/Projects_Status");
Grid.setGridWidth("640px");
Grid.setGridHeight("400px");
Grid.draw("div1");
</SCRIPT>
</HEAD>
<BODY>
<DIV id="1"></DIV>
<DIV id="div1"/>
</BODY>
</HTML>
Hi Amr,
I too faced this issue. When chart and Grid were in Same IRPT, Grid does not render. Here is what worked for me.
Try changing your code in this Line.
<DIV id="1"></DIV>
<DIV id="div1"/>
Change it to
<DIV id="div1"></DIV>
Just try if it works.
But i tried now in our SP05 Test Server, With your code and i am able to render.
My UI5 Version : "1.18.10"
Regards,
Sriram
Hi Amr,
Your code works fine for me, i.e., both the i5Chart and i5Grid render. (I tried with SAP UI5 1.20.4)
I think the error that you are getting because of which i5Grid is not getting rendered is specific to the configuration done in the i5Grid.
Can you please re-try with the basic configuration of an i5Grid and see if it works for you. (i.e., by maintaining only the Query Template and column details in Layout category of i5Grid's configuration).
Regards,
Ria
User | Count |
---|---|
10 | |
5 | |
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.