PC Review


Reply
Thread Tools Rate Thread

Can the first three columns of a datagrid be frozen?

 
 
anon
Guest
Posts: n/a
 
      8th Mar 2005
I am trting to simulate the case available in an excel worksheet where the
first three columns are frozen and the rest scroll left and right against
this.

For example: I have a grid which lists the Item and Line of a priduct by
row.
I need to be able to keep the item and line columns frozen so that when I
scroll to the right to view data which is off the right side of the screen,
I can still see the item and line to which this relates.
I am using VB.NET 2002

Is this possible or should I give it up as a too ambitious idea?

Thanks

Terry





 
Reply With Quote
 
 
 
 
Mark Petersen
Guest
Posts: n/a
 
      8th Mar 2005
The only way I've found to do this is to use 2 datagrids. But, you need to
fix the size of both grids in pixels. Then, throw a div tag around the
second datagrid (non-fixed one) with OVERFLOW-X: scroll. Plus, getting the 2
datagrids to match line by line took a long time.
I'd avoid it if you can.

Mark


"anon" <(E-Mail Removed)> wrote in message
news:d0kpv5$sro$(E-Mail Removed)...
> I am trting to simulate the case available in an excel worksheet where the
> first three columns are frozen and the rest scroll left and right against
> this.
>
> For example: I have a grid which lists the Item and Line of a priduct by
> row.
> I need to be able to keep the item and line columns frozen so that when I
> scroll to the right to view data which is off the right side of the

screen,
> I can still see the item and line to which this relates.
> I am using VB.NET 2002
>
> Is this possible or should I give it up as a too ambitious idea?
>
> Thanks
>
> Terry
>
>
>
>
>



 
Reply With Quote
 
anon
Guest
Posts: n/a
 
      8th Mar 2005
Yuk... what a workaround!
I think i'll stick to the simpler means of take it or leave it.

Thanks for the feedback

Terry



"Mark Petersen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The only way I've found to do this is to use 2 datagrids. But, you need to
> fix the size of both grids in pixels. Then, throw a div tag around the
> second datagrid (non-fixed one) with OVERFLOW-X: scroll. Plus, getting the

2
> datagrids to match line by line took a long time.
> I'd avoid it if you can.
>
> Mark
>
>
> "anon" <(E-Mail Removed)> wrote in message
> news:d0kpv5$sro$(E-Mail Removed)...
> > I am trting to simulate the case available in an excel worksheet where

the
> > first three columns are frozen and the rest scroll left and right

against
> > this.
> >
> > For example: I have a grid which lists the Item and Line of a priduct by
> > row.
> > I need to be able to keep the item and line columns frozen so that when

I
> > scroll to the right to view data which is off the right side of the

> screen,
> > I can still see the item and line to which this relates.
> > I am using VB.NET 2002
> >
> > Is this possible or should I give it up as a too ambitious idea?
> >
> > Thanks
> >
> > Terry
> >
> >
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Page Headers and Frozen Columns Barry Flynn Microsoft Excel Discussion 2 14th Aug 2007 06:15 AM
Frozen non-scrolling columns in DataGrid Doug Crawford Microsoft Dot NET Compact Framework 0 15th May 2007 10:43 PM
Frozen Columns and scrolling in Access =?Utf-8?B?RmxlbWlzaFJvZ2Vy?= Microsoft Access Forms 1 31st Oct 2006 09:31 PM
Why do the frozen columns in a shared workbook not keep for other =?Utf-8?B?RnJlZXplIGNvbHVtbnMgaW4gc2hhcmVkIHdvcmti Microsoft Excel Misc 0 3rd Mar 2006 01:05 PM
freeze other columns when columns have been frozen already =?Utf-8?B?RnJlZXplIGNvbHVtbg==?= Microsoft Excel Worksheet Functions 1 14th Sep 2005 12:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:16 PM.