Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: How to get selected Row/Cell value in i5Grid

$
0
0

Hi Shaji,

 

Here is my code.

-----------------------------------

 

<!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,i5SPCChart"></SCRIPT>

 

    <SCRIPT>

        var Grid = new com.sap.xmii.grid.init.i5Grid("STC/C5167365/i5Grid_TagQuery", "STC/C5167365/TagQuery");

        Grid.setGridWidth("640px");

        Grid.setGridHeight("400px");

        Grid.draw("div1");

 

    function setCellValue()

    {

    Grid.getGridObject().setCellValue(1,1,"Set");

    }

    function setCellValueAgain()

    {

    Grid.getGridObject().setCellValue(1,1,"Changed Again");

    }

    </SCRIPT>

</HEAD>

 

<BODY>

 

    <DIV id="div1"></DIV>

    <INPUT type="Button" value="setCellValue" onClick="setCellValue()"/>

    <INPUT type="Button" value="setCellValueAgain" onClick="setCellValueAgain()"/>

 

</BODY>

</HTML>

-------------------------

 

Regards,

Sriram


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>