Jump to content
uniGUI Discussion Forums
Sign in to follow this  
rhennink

TUniStringGrid FixedCols and Fixedrows moving

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

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

This feature is not supported in StringGrid.  There is no simple workaround here. It must be internally implemented.

 

Moved to feature requests.

Share this post


Link to post
Share on other sites

Is there a solution for this? The "fixed" row is scrolling:  

2020-04-09_16-08-44.jpg.9d2a5382dd77b9b7e99c6a7bbfa15d97.jpg

Share this post


Link to post
Share on other sites
6 hours ago, BruceTTT said:

Is there a solution for this? The "fixed" row is scrolling:  

Hello,

I'm afraid this is not possible at the moment.

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites
Sign in to follow this  

×