Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repositioning column in gridview

Status
Not open for further replies.

dpk136

MIS
Jan 15, 2004
335
US
I have a question about gridview or something similar.

I need to write a website in C# that allows the user to select which columns to use from the database and which order they would like them in, along with other things such as sorting and filtering.

The way that i was thinking of doing this is in the users profile have a listbox with all of the fields and have another that would have the report, then allow them to move them over to the report list if they want it on the report and also allow the user to move them around in the list. This isn't that hard.

What I was wondering is, is there any way to do this directly on the form, i.e. right click and hit remove field or add field, or click a column header and move it over 2 spaces, etc. The same with filtering, what would be the best way to handle this.

Thanks for any input.

David

David Kuhn
------------------
 
dpk136 said:
What I was wondering is, is there any way to do this directly on the form, i.e. right click and hit remove field or add field, or click a column header and move it over 2 spaces, etc. The same with filtering, what would be the best way to handle this.
need more info to answer this. anything is possible with enough time & money :)

questions to consider?
1. what are the clients requirements? no reason to make it more complicated than required.
2. do you want this driven by the client(js) or server(c#)?
3. has a 3rd party created this type of control already? you may be able to save yourself time (possibly even money) by using a 3rd party control. allowing you time to focus on the core functionality of the application.
4. how exactly do you want this to work?



Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top