Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

hide and show few fields based up on textboxs click

Hello guys...

these are the fields i had added in the straight table as a dimension.....now i need hide and show  few fields based up on click on textboxs


PLACE    SHIP        QUANTITY     TM      GVM     AVM



what i mean is i took 4 textboxs:


if i click on TEXTBOX1:then i should display these three fields only

                         PLACE         SHIP               QUANTITY-------------------------------->(HIDE TM,GVM)


if i click on TEXTBOX2:then i should display these four fields only

                          PLACE            SHIP                 QUANTITY               TM---------->(HIDE GVM)


if i click on TEXTBOX3:then i should display these three fields only

                            PLACE           SHIP                 GVM------------------------------------->(HIDE QUANTITY, TM)




What i assume is to achieve this task i need to write a condition under each dimension  in that straight table.......am i right?

thanks

naveen

13 Replies
kunkumnaveen
Specialist
Specialist
Author

HI

sorry for annoying you,one last question

for text box=2,,if i set varible value 2

DimCond=2...ok

TM dimension 

enable conditional

DimCond=1 or DimCond =2......(should i write  this )


am i right.......because clicking textbox2  i need second to display 2nd dim along with 1st one

PLACE     SHIP     QUANTITY      TM......



kunkumnaveen
Specialist
Specialist
Author

sorry i will do it now

kunkumnaveen
Specialist
Specialist
Author

HI,

It worked out but only the thing is .....when i press clearall button i want to see only two default dimension out of four ...

I MEAN  suppose if i press textbox2,the fields i need to see are

                                          PLACE   SHIP   QUANTITY     TM

which is working fine

but when i press CLEARALL button i want to see only these fields .....

                                           PLACE   SHIP    (currently i am seeing  all the four fields even if i press CLEARALL )

HOW TO ACHIEVE THIS.....

Digvijay_Singh

from ClearAll do you mean the 'Show All' button I added. If yes then its easy, just need to remove the 'OR DimCond = 4' condition from rest of the field except the two you want. Here is updated sample.

It appears you don't want to see AVM in any case, you can remove this field