on 10-14-2016 9:18 PM
Hi Experts,
I have a sap.m.table, which has 4 columns. In ColumnListItem->cells, I have created first 2 fields as Text fields, and binding the data to it from json model. Later 2 fields are kept as input fields.
The requirement is, on selection a particular row, the input fields present in that row, should get set to editable mode, so that user can input the data in it.
Later, on click of a button (outside the table), data from the selected rows, should get mapped to another service posting data to backend.
I am looking for the help around setting the input fields of selected row to editable state and later reading the data from input fields on click of a button.
I read through multiple discussions, and tried various things, however couldn’t really achieve this. Need your valuable inputs to help me achieve the required result.
Thanks and regards,
Ruchi Agarwal
Hello Ruchi,
Are you looking something like this ?
In the above example I have implemented with json model, similarly can be done using oDataModel (twoway binding mode) as well.
Regards,
Akhilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please refer below link.
https://experience.sap.com/fiori-design-web/ui-components/responsive-table/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.