Avatar of expertsoul
expertsoulFlag for United States of America asked on

Hide GridView Columns based on User Selection

Hi Experts,

I am working on some reports in ASP.NET with C#. More of the work is done at back-end creating the query and front-end we can simply attach it to GridView.

Now, we need user to be able to choose from the list of columns to be displayed at front-end.

I can figure out the query part, to make columns invisible and saving user preferences and stuff.
But I am not getting any idea for an interface for client to be able to choose columns from. Don't think that purchasing any tool would be an option. So, if you can suggest some way for implementing this, using javascript or asp.net.
I would prefer to have that interface on the same page itself, but can go for another page if no other option.

Any suggestions or similar site where this has been implemented?

Thanks.
ASP.NETJavaScriptCSS

Avatar of undefined
Last Comment
expertsoul

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Obadiah Christopher

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
dacIT

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
expertsoul

Sorry for not replying....got real bz...
Thanks for your suggestions...here's how I finally end up doing it...

cols.JPG
ASKER
expertsoul

Thanks for your suggestions.
Cheers!!
dacIT

Nice looking form. Good job.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER
expertsoul

I have opened a related question here, if you can help.
Thanks.
https://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_24089279.html