Adjust column width/High CPU usage/High DPI support
Posted: Wed Apr 03, 2019 7:55 am
Hello,
As a new user, I have some questions regarding the way TeeGrid is intended to work:
1. Is there a property to adjust column width to field content? In Postgres, most fields are created as varchar without length specifier, which causes columns in grid to be come very wide.
2. How can I retrieve the number of visible rows?
3. How can I enable drawing using VCL Styles? I would expect the headers to be like TDbGrid then.
4. Application uses a lot of CPU when moving the mouse over the TeeGrid, which is even worse in case DoubleBuffered property is set to false. This makes me think that every mousemove generates a full repaint, is that correct, and if so, can that be switched off?
5. Is the grid high-dpi aware? I think not, as I would expect Rows.Height, when set in pixels, to adjusted for high dpi, or am I doing something wrong?
6. I noticed that the indicator column header is not painted as the other column headers. Is there a way to have indicator header style same as other column headers?
Best regards,
Ronald
As a new user, I have some questions regarding the way TeeGrid is intended to work:
1. Is there a property to adjust column width to field content? In Postgres, most fields are created as varchar without length specifier, which causes columns in grid to be come very wide.
2. How can I retrieve the number of visible rows?
3. How can I enable drawing using VCL Styles? I would expect the headers to be like TDbGrid then.
4. Application uses a lot of CPU when moving the mouse over the TeeGrid, which is even worse in case DoubleBuffered property is set to false. This makes me think that every mousemove generates a full repaint, is that correct, and if so, can that be switched off?
5. Is the grid high-dpi aware? I think not, as I would expect Rows.Height, when set in pixels, to adjusted for high dpi, or am I doing something wrong?
6. I noticed that the indicator column header is not painted as the other column headers. Is there a way to have indicator header style same as other column headers?
Best regards,
Ronald