cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple value selection in iGrid

Former Member
0 Kudos

Hi,

How can i retrieve values in iGrid when multiple rows are selected?

Thanks in advance

Regards,

Murali

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Murali,

Make sure your grid has the "Allow Multiple Selection" parameter turned on. Using JavaScript , you would need to getSelectedRowCount. It will be used as the limit in a for loop. You will also use these lines... myGrid.getCellValue(myGrid.getSelectedRowAt(intCount,2)); My example is used for a button click calling the function and then alerting a few values in the selected rows. You will need to do some research once you get the values. The Script Assistant and the Help will guide you through the different methods you can use. Good luck.

Regards,

Kevin

Former Member
0 Kudos

Murali,

have a look at the following thread from last year:

[https://forums.sdn.sap.com/click.jspa?searchID=22724915&messageID=6250427]

You will find the necessary functions.

The SAP Help on MII will also give you hints what iGrid applet functions to use:

[http://help.sap.com/saphelp_xmii120/helpdata/en/44/d1e7a599f3409fe10000000a11466f/content.htm]

You may also want to install the MII help functions, e.g. the script assistant which is also described in the SAP help and is part of the MII Tools (Wizards). You can download the tools from the SDN download area, Sample project and tools.:

[https://www.sdn.sap.com/irj/scn/manufacturing-tools]

Michael

jcgood25
Active Contributor
0 Kudos

Thanks Michael so I didn't have to repeat myself