on 07-20-2016 2:10 PM
Hello,
I have an sap.ui.table.Table and am using the sorted and filtered properties in its columns. I'm trying to add an additional button (to do an additional unrelated task) to the default column menu that pops up with the sorting, filtering and column freeze options. Can someone point me towards the right direction for doing this.
Additionally, I saw that sap.ui.table.Column has an aggregation - menu : sap.ui.unified.Menu. I was unable to find any documentation on this and/or my google skills have failed me. Any info on how to use the sap.ui.unified.Menu over the default column menu would be greatly appreciated.
So far, I've tried this -
<!-- Status -->
<table:Column width="4rem" filtered="false" sorted="true"
filterProperty="Dstat" sortProperty="Dstat" columnMenuOpen="colSel">
<Label design="Bold" text="Status" tooltip="Status"/>
<table:template>
<cc:ColorCircle value="{plan>Dstat}" ></cc:ColorCircle>
</table:template>
<u:Menu>
<u:MenuItem text="1" select="" />
<u:MenuItem text="2" select=" />
</u:Menu>
</table:Column>
which gives me this error - sap.ui.unified.Menu: The Menu is popup based and must not be rendered directly as content of the page
Thank you.
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.