Home All Groups Group Topic Archive Search About

How to make datagrid headders non Scrollable in a multi page contr

Author
4 May 2005 2:42 PM
Ashok
Hi All,

I have a datagrid and it is inside a multi page control. When i have lot of
rows i am getting a scrollbar to scroll though the rows. The problem is, i
want the heading of the data grid non-scrollable,
so that the user can click on one of the columns of his choice and do
sorting basing on the column
on which he did the click. I need help in this issue.

Thank You
tak

Author
6 May 2005 3:46 PM
jc
Maybe this link can help:

http://www.codeproject.com/aspnet/DataGridFixedHeader.asp

/jc

Show quoteHide quote
"Ashok" wrote:

> Hi All,
>
> I have a datagrid and it is inside a multi page control. When i have lot of
> rows i am getting a scrollbar to scroll though the rows. The problem is, i
> want the heading of the data grid non-scrollable,
> so that the user can click on one of the columns of his choice and do
> sorting basing on the column
> on which he did the click. I need help in this issue.
>
> Thank You
> tak
Author
10 May 2005 7:08 PM
Ashok
Thanks jc that helped me solve this problem.

I removed the style from my datagrid and kept the BorderStyle property of
datagrid to None to make it   fit to my requiremens.

Thank You
Ashok

Show quoteHide quote
"jc" wrote:

>
> Maybe this link can help:
>
> http://www.codeproject.com/aspnet/DataGridFixedHeader.asp
>
> /jc
>
> "Ashok" wrote:
>
> > Hi All,
> >
> > I have a datagrid and it is inside a multi page control. When i have lot of
> > rows i am getting a scrollbar to scroll though the rows. The problem is, i
> > want the heading of the data grid non-scrollable,
> > so that the user can click on one of the columns of his choice and do
> > sorting basing on the column
> > on which he did the click. I need help in this issue.
> >
> > Thank You
> > tak