Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hiding a table column?

I have a a table rendered from an xml view.

Is there a way I can hide an entire column in the controller?

replied

Hi,

In xml creation of table create with id

<Table

    id="tt"

    rows="{

        path: '/Employees',

        parameters: {

            select: 'FirstName, LastName, BirthDate'

        }

    }"

    title="Table Example"

    visibleRowCount="7"

    firstVisibleRow="3">

    <columns>...  

    </columns>

</Table>

and in controller we can access using id  oView.byId("tt").getColumns()[2]. ....

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question