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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allowing users to change column order

Status
Not open for further replies.

jakeyteek

Programmer
Sep 29, 2009
2
GB
Hi all

I am creating a web app (C# ASP.NET 3.5) and on the one page I want to display a list of results from a DB using a gridview for example. What I want to do is allow the user to change the column order of the results on the fly. The intention is a "click a column header and drag left/right" sort of interaction. Does anyone know of a solution for this sort of thing be it through code or even if there is a custom control that does this available for purchase on the web. Any thoughts greatly approceiated.

Many thanks
 
use the ListView to build your layout using raw html, not a gridview. use jqueryUI (or your preferred js library) to wireup the drag/drop functionality).

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top