Can the first three columns of a datagrid be frozen?

  • Thread starter Thread starter anon
  • Start date Start date
A

anon

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
 
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
 
Yuk... what a workaround!
I think i'll stick to the simpler means of take it or leave it.

Thanks for the feedback

Terry
 
Back
Top