on 05-08-2009 8:37 AM
Hi All
In a grid display template i am displaying row of data (there will be one row always in this case).
and this grid i made it invisible
Now i need to get the row of data and display it in the html.
i can get the data using
var BatchGrid = document.BatchList.getGridObject();
var selBatch = BatchGrid.getSelectedCellValue(1);
we cant select the row in the grid since the grid is invisble.
How i can get the row without selecting
Please provide your inputs
Thanks
Karthi D
Hi Karthi
use this:
document.BatchList.getGridObject().getCellValue(rownumber,columnnumber);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The iGrid will display itself automatically in your html page - what's the special requirement that makes you need to hide it and pump the results into your page with script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Karthi,
If you are using an iGrid for just holding data, you may want to investigate iCommands. For more information, you can click [here|http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/iCommand_Reference.htm].
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthi,
Try to use Frontpage and add XMII script assistant in front page under Tools->Add-ins.
You can learn what all applet methods available and also object method in that.
Like you will get information for grid applet, or icommand, iBrowser etc etc.
That will make you easy to understand all methods available.
There will methods available for Query template , display template etc for which Applet u select.
Use Wizards.
Regards
Padma
Edited by: Rao on May 8, 2009 11:17 AM
Edited by: Rao on May 8, 2009 11:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are many methods to get the rowvalues without select the grid like mentioned below:
document.applet.getGrdiObject.getgetCellValue(rownum,colnum);
document.applet.getGridObject().getCellValueByName(rownum,colname);
hope this may solve your query.
-Suresh Hiremath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.