Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3022

Re: How to read value of each cells in table??

$
0
0

Hi Priya

 

You could use event itemPress of your table to get the cells and their content as show below:

 

   itemPress: function(oEvent) {

      var oItem = oEvent.getParameters().listItem;

        var oCells = oItem.getAggregation('cells');

        for (var i = 0; i < oCells.length; i++) {

        var oCell = oCells[i];

        //You can get the value from whatever control you have on oCell. E.g.: A text -> oCell.getText()

      }

    },

 

Please let me know if this helps.

 

Regards,

Jaime


Viewing all articles
Browse latest Browse all 3022

Trending Articles



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