Hello,
I have a SmartTable of type AnalyticalTable and custom data in an AnalyticalColumn. The column contains data which should be summed up and the total should be displayed. This is working fine. Each cell in the column, should have a link, so when the user presses the cell, a popover is opened. This is also working. Howevere, there are two issues:
1. the unit of measure is missing, now when I have added the column to the custom data
2. The sum value should not have a link behind it, but since the whole column has links, also the sum value has it.
Here is my code:
<table:AnalyticalTable id="customTable">
<table:columns>
<table:AnalyticalColumn summed="true" id="TotalStock" autoResizable="true" resizable="true"
leadingProperty="Requirements_Stock" width="100px">
<table:customData>
<core:CustomData key="p13nData" value='\{"columnKey": "Requirements_Stock",
"leadingProperty": "Requirements_Stock", "columnIndex": "17", "unit":"TO"}'/>
</table:customData>
<Label text="{i18n>Requirements_Stock}"></Label>
<table:template>
<Link id="link" text="{Requirements_Stock}" press="onOpenPOMatMat"/>
</table:template>
</table:AnalyticalColumn>
</table:columns>
</table:AnalyticalTable>
</smartTable:SmartTable>sAnd this is the output:
Can anyone help with the issues?
Thanks!
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.