Skip to Content

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 05, 2016 at 01:20 PM

    HI,

    Try this link, table.getColumns()[column no].setProperty("visible",false); to hide and and table.getColumns()[column no].setProperty("visible",true); to show

    Ref:

    sapui5bin/dynamicTableColumns.html at master · qmacro/sapui5bin · GitHub

    Add comment
    10|10000 characters needed characters exceeded