This discussion is archived
1 Reply Latest reply: Feb 27, 2013 4:04 PM by xarg-Xrc RSS

Hiding a column when using Apex_item.hidden

xarg-Xrc Explorer
Currently Being Moderated
Hi All,

I am using Apex v4.1.1.

Have a tabular form I created manually with few APEX_ITEM.HIDDEN fields. The fields are not rendering (as it hidden) however I am left with a blank columns. Could someone guide me how I can make those columns invisible (without getting rid of them as they contain values I use in my Javascript).

Many Thanks.
  • 1. Re: Hiding a column when using Apex_item.hidden
    fac586 Guru
    Currently Being Moderated
    xarg-Xrc wrote:

    Have a tabular form I created manually with few APEX_ITEM.HIDDEN fields. The fields are not rendering (as it hidden) however I am left with a blank columns. Could someone guide me how I can make those columns invisible (without getting rid of them as they contain values I use in my Javascript).
    Don't select the hidden items as separate columns. Concatenate the hidden items with a visible item in one column:
    select
           apex_item.hidden(...)
        || apex_item.hidden(...)
        || apex_item.hidden(...)
        || col1 as col1
      , col2
      , col3
    ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points