Jump to content

TUniStringGrid FixedCols and Fixedrows moving


rhennink
 Share

Recommended Posts

Hi,

 

When we use the TUniStringGrid with a lot of rows and cols, the Headers (and left colum(s)) (Fixedcols/fixedrows) are disappearing when moving to the right or bottom.

 

How can we prevent this?

I would always like to see the fixedheaders and fixedcolumns labels.

 

Richard

 

Link to comment
Share on other sites

I created a TUniStringGrid where the first row are the headers (like dates), and the first column are also fixed values (like names).

 

WHen I scroll down (or to the right), the first column (or row) is disappearing (not visble anymore).

 

In plain-delphi we set then FIxedCOls/fixedROw and the these columns/row are always visible, despite where we scroll to in the grid.

 

Richard

Link to comment
Share on other sites

  • 5 years later...

Thanks, I was able to get pretty close with adding columns in the Columns property, setting ShowColumnTitles:=true, and setting FixedRows:=0. The only downside is that it's design-time driven, and the first data row is 0 where in the desktop VCL it's usually 1 (since FixedRows is usually 1).

Link to comment
Share on other sites

 Share

×
×
  • Create New...