Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Re: Datagrid headings (http://www.velocityreviews.com/forums/t60343-re-datagrid-headings.html)

Saravana 07-22-2003 04:55 PM

Re: Datagrid headings
 
Check out this article,
http://www.microsoft.com/india/msdn/...leDataGridWebS
erverControl.aspx?

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


"Tracey" <traceywillicombe@hotmail.com> wrote in message
news:07e401c35066$c88d1000$a001280a@phx.gbl...
> 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.




Saravana 07-23-2003 01:39 PM

Re: Datagrid headings
 
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" <traceywillicombe@hotmail.com> wrote in message
news:0b2901c3510d$470a06d0$a401280a@phx.gbl...
> 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" <traceywillicombe@hotmail.com> wrote in message
> >news:07e401c35066$c88d1000$a001280a@phx.gbl...
> >> 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.

> >
> >
> >.
> >





All times are GMT. The time now is 04:52 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.