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

Fetch the Values of Cell from i5Grid using cellSelectionEvent ?

$
0
0

I'm trying to fetch the value of the cell on selection using cellSelectionEvent of i5Grid. I have registered my event handler for the cellSelection event and the event handler gets executed whenever any cell in the i5Grid is selected. But i don't find any methods that would fetch me the value of the selected cell in the i5Grid.

 

As per UI5 conventions, we usually pass an parameter  say oEvent to the event handler which would contain the value of the selected cell, but it seems that's not the case with MII i5Grid as the parameter oEvent returns undefined. So what is the way out here to fetch the value of the selected cell ?

 

 

i5Grid.registerCellSelectionEvent(function(oEvent){     alert("cell selection event");     console.log(oEvent); // undefined;
});

 

- Sakthivel


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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