Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Datagrid headings

Reply
Thread Tools

Re: Datagrid headings

 
 
Saravana
Guest
Posts: n/a
 
      07-22-2003
Check out this article,
http://www.microsoft.com/india/msdn/...leDataGridWebS
erverControl.aspx?

--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.


"Tracey" <(E-Mail Removed)> wrote in message
news:07e401c35066$c88d1000$(E-Mail Removed)...
> Hi,
> Is it possible to fix the headings in a datagrid so that
> when the user scrolls down the grid the headings are
> always visible?
> Thanks in advance,
> Tracey.



 
Reply With Quote
 
 
 
 
Saravana
Guest
Posts: n/a
 
      07-23-2003
You have to implement sorting on your own only, since you dont have datagrid
header. You cant use sorting provided by datagrid. Here is my suggestion
which you can try,

1. Convert each column in header to button column or link column.
2. On Onclick event handler, sort the datasource and bind the datagrid
again.

I hope this helps you.

Thanks
Saravana

--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.


"Tracey" <(E-Mail Removed)> wrote in message
news:0b2901c3510d$470a06d0$(E-Mail Removed)...
> Thanks a lot, that works really well.
>
> How would you go about sorting columns in a grid like this?
>
> Thanks, Tracey.
>
> >-----Original Message-----
> >Check out this article,
> >http://www.microsoft.com/india/msdn/.../CreatingaScro

> llableDataGridWebS
> >erverControl.aspx?
> >
> >--
> >Saravana
> >Microsoft India Community Star,
> >MCAD,SE,SD,DBA.
> >
> >
> >"Tracey" <(E-Mail Removed)> wrote in message
> >news:07e401c35066$c88d1000$(E-Mail Removed)...
> >> Hi,
> >> Is it possible to fix the headings in a datagrid so that
> >> when the user scrolls down the grid the headings are
> >> always visible?
> >> Thanks in advance,
> >> Tracey.

> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change DataGrid Headings color tshad ASP .Net 3 06-14-2006 02:02 AM
Headings in the DataGrid Web Control =?Utf-8?B?QWxhbiBMYW1iZXJ0?= ASP .Net 10 03-05-2006 01:07 AM
Using labels within datagrid template headings John ASP .Net 2 04-10-2005 08:57 PM
Datagrid : massive headings when no data to display Bazza Formez ASP .Net 2 12-08-2004 11:23 PM
Sorting in a DataGrid with no headings Tracey ASP .Net 0 07-23-2003 12:37 PM



Advertisments