General information
Category:
Coding, syntax & commands
>I have a grid that holds about 20 columns, and the first column in the grid is important to have on the screen when looking at columns that you need to scroll to. I tried to use the Partition Property, but it did not work quite the way I wanted it to work. Is there any other way to get a column to stay/freeze to the left side?
>
>Thanks in advance.
>Mike
The columns in a grid may be referenced by the 'COLUMNS' attribute of the grid itself, and swapping the columsn: the Scrolled event could contain coding that would re-arrange the columns so that 'A' is always shown on the left side of the grid. There are some complications ( for example, a column whose width equals or exceeds the width of the grid -- where only that column will show ). I have not done exactly what you are asking, but have implimented command buttons to make the grid appear to scroll -- actually making the column widths = 0 which collapses the column to only the size of the vertical grid line ( if grid line is visible ), but I am assuming that you want the 'natural' use of the scroll bar tools themselves to control the horizontal scrolling, right?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only