שתף באמצעות


Is it possible to show/hide dynamically columns in RDLC form?

Question

Thursday, January 15, 2015 10:01 AM

We need to show/hide dynamically columns in our Report RDLC form based by the user desire needs.

We need by the predefined checkboxes to set which columns should be seen and which should be hidden.

Is it possible in RDLC form to make it "show/hide columns dynamically" with any way?

All replies (2)

Thursday, January 15, 2015 10:13 AM ✅Answered

Depends on what you mean dynamically, you still need to press the view report button.

What you can do is right click on the column you want to be able to hide/display in design mode,

click "Column visibilty", choose "show or hide based on an expression" then in your expression base your true or false on a boolean parameter for each column


Thursday, January 15, 2015 1:52 PM ✅Answered

I found solution at this link

http://stackoverflow.com/questions/6438079/hide-columns-dynamically-in-rdlc-report

Here it work fine for me.

That's exactly what I was looking for.