on 02-25-2014 11:07 AM
posting on behalf of my UI5 colleague
Hi Experts,
I would like to read the data from the cells in SAPUI5
table. I have defined a table in JS view as:
var oTable = new sap.ui.table.Table("table", {
firstVisibleRow: 5
});
I had added columns like below.
I had written var day1=sap.ui.getCore().byId("day1").getValue(); to read the entered values for day1.
But I am getting empty string in this approach . Can someone help in reading the entries from the editable table?
Thanks,
Srinivas.
table.getRows()[0].getCells()[0].getValue()
/**
* Getter for aggregation <code>rows</code>.<br/>
* Rows of the Table
*
* @return {sap.ui.table.Row[]}
* @public
* @name sap.ui.table.Table#getRows
* @function
*/
/**
* Getter for aggregation <code>cells</code>.<br/>
* The controls for the cells.
*
* @return {sap.ui.core.Control[]}
* @public
* @name sap.ui.table.Row#getCells
* @function
*/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.