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
ASKER CERTIFIED SOLUTION
Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of dacIT
dacIT

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of expertsoul
expertsoul
Flag of United States of America image

ASKER

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

cols.JPG
Avatar of expertsoul
expertsoul
Flag of United States of America image

ASKER

Thanks for your suggestions.
Cheers!!
Avatar of dacIT
dacIT

Nice looking form. Good job.
Avatar of expertsoul
expertsoul
Flag of United States of America image

ASKER

I have opened a related question here, if you can help.
Thanks.
https://www.experts-exchange.com/questions/24089279/Ordering-GridView-Columns.html 
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo