Skip to Content

Need help with sap.ui.table.Column menu


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"/>
            <cc:ColorCircle value="{plan>Dstat}" ></cc:ColorCircle>
          <u:MenuItem text="1" select="" />
          <u:MenuItem text="2" select=" />


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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 20, 2016 at 02:31 PM

    Hi Abdul,

    Will this sample help? Plunker



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.