on 09-26-2017 10:33 PM
Hi Experts,
Based on the type of data, multiple control( like input control, lable control, button control ) has to be displayed under same column in sap.ui.table using XML view.
for example:
1st record -> it should be label control
2nd record -> it should be input field control
3rd record -> it should be button control
The above controls are placed under same column in the table based on type of data or indicator.
how to achieve this in XML view?
Thanks
sashi
in my case, I have three type of control in one of the column, i just put all there and control the visibility based on needs. it worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun Wu
Could you please provide code to get this. I am doing as below in xml view but its not working.Its still displaying label control without value but not input control with value.
<Column>
<Label text="Customer " />
<template>
<Input value="{data>CUSTOMER}" />
<Label text="{data>CUSTOMER}" visible="false" />
</template>
</Column>
Thanks
sashi
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.