on 12-19-2016 3:36 PM
Hi Ivan,
Retrieve the table by using the id mentioned in the view.
If you are using json model and setting it to the table, then you can extract the data entered in the table by using "getModel().oData" as json model is two-way binding by default.
To do the same use "selectedKeys" property in the "MultiComboBox".
<MultiComboBox selectedKeys="{selItems}" >
Now while retrieving use the code : in record i'm storing one item,
var selContexts = oTable.getSelectedContexts();
var id="", selItems = [], record = {};
for(var i=0;i<selContexts.length;i++)
{
record = oTable.getModel().getProperty(selContexts[i].sPath);// one item
id = record.id;
selItems = record.selItems; // it is array of strings
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.