Help Datagrid issues.
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngdatagridrepeaterdatalist' list.


Satish Pahade
Please Help.

Can i have the following features in my datagrid.

1. Column Move (Drag and Drop)
2. Column Resizing at runtime..
3. Hide/unhide
4. Scrolling - Horizontally and Vertically.
5. Sorting by click clicking anywhere on column header.

Are these possible in ASP.NET datagrid control.

Thanks in advance

Satish Pahade

Reply to this message...
 
    
Satish Pahade
-- Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Tim Musschoot <Click here to reveal e-mail address> --

Please Help.

Can i have the following features in my datagrid.

1. Column Move (Drag and Drop)
2. Column Resizing at runtime..
3. Hide/unhide
4. Scrolling - Horizontally and Vertically.
5. Sorting by click clicking anywhere on column header.

Are these possible in ASP.NET datagrid control.

Thanks in advance

Satish Pahade

Reply to this message...
 
    
Alex Lowe
You could have all of those but none of them are supplied by the
DataGrid "out of the box". What I mean by that is, you will need to add
a bunch of code (much of it being client side code - JavaScript, CSS,
dynamic positioning type stuff, etc.) to make most of these things work.

Alex - AspFriends.com Moderation Team
Microsoft MVP - ASP.NET

***********************************************************
Translate C# code to VB.NET code at
http://aspalliance.com/aldotnet/examples/translate.aspx
***********************************************************

[Original message clipped]

| = JOIN/QUIT

Reply to this message...
 
    
Simon Wright
I've just started working on some of the Datagrid features that you require,
heres my insights:
1. Column Move (Drag and Drop) &
5. Sorting by click clicking anywhere on column header.

Microsoft have a behaviour that does this (.htc) available from here...
http://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dndude/html
/dude070599.asp (watch for url wrap)

I had an inital look at implementing it with a Datagrid but it relies on
<THEAD> and <TBODY> tags to behave properly, i havent had time to see if its
possible to spit out these tags when the DG is rendered but, if you figure
it please let me know how!

4. Scrolling - Horizontally and Vertically.
This is easy, just wrap it in a <DIV> and set the Overflow style to auto or
scroll...

Lets keep this thread alive, client side manipulation of Datagrids has lots
of potential, but there are many issues to deal with such as Data
persistance etc.

hope this helps

Simon Wright

-----Original Message-----
From: Alex Lowe [mailto:Click here to reveal e-mail address]
Sent: 01 August 2002 13:12
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] RE: Help Datagrid issues.

You could have all of those but none of them are supplied by the
DataGrid "out of the box". What I mean by that is, you will need to add
a bunch of code (much of it being client side code - JavaScript, CSS,
dynamic positioning type stuff, etc.) to make most of these things work.

Alex - AspFriends.com Moderation Team
Microsoft MVP - ASP.NET

***********************************************************
Translate C# code to VB.NET code at
http://aspalliance.com/aldotnet/examples/translate.aspx
***********************************************************

[Original message clipped]

| = JOIN/QUIT

| [aspngdatagridrepeaterdatalist] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp" target="_blank">http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp JOIN/QUIT
Reply to this message...
 
 
System.Web.UI.WebControls.DataGrid
System.Windows.Forms.DataGrid




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com