on 01-31-2017 10:59 AM
Hi Experts,
I design one UI on Eclipse.Which displays one Form Control with 4 fields, these fields will be update based on Row Selection of a Table Control data.This table contains number of records and one toggle button on toolbar named as Change.The data will be changed when user pressed on Change Button. After changes has been done , that data was not reflects on FORM Control when user press on any row. Previous data only displays . you can check the below attached pic....
Could anybody look into this and give the solution...
Thanks,
Vamsi.
Find out the attachRowSelectionChange method.It is in the library sap.ui.table.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you all for immediate reaction...
Issue has been resolved.
There is a mistake in my code itself...i.e.,
var oCore = sap.ui.getCore().byId("myTable");
the above line in my code is replaced with...
var oCore = sap.ui.getCore();
Now its working fine...
Thanks,
Vamsi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why not simply update the model bound to form in Row Selection method.
Since by default model is two way, if you simply update Form model, it will be reflected in form also.
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Why you are using 'new' in row selection function ?
var oForm = new sap.ui.getCore().byId("myForm");
Thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.