Conditional Hide Column

QuestionsConditional Hide Column
John Godish asked 9 years ago

How do I hide/show a column in a row based on the value of a different column in the same row?

3 Answers
Abu Ghufran answered 9 years ago

If you hide a column, it will not be displayed for any value.
Perhaps, you mean hide content of columns.

This can be done using on_data_display event handler in php.

e.g. if gender = male, blank company field.

John Godish answered 9 years ago

No actually I want to hide/display a column based on the value in a different column.

If Row 1 Column A = 100 then display Row 1 Column B

If Row 1 Column A = 200 then hide Row 1 Column B

Abu Ghufran answered 9 years ago

I am still unclear. In tabular data (list mode) how can we hide column and at same time show that column.
Given that column A has both values.

Your Answer

11 + 20 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?