KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Data Grid: Header and Footer Row Height
PRODUCT: 4D Web 2.0 Pack | VERSION: 11.1 | PLATFORM: Mac & Win
Published On: April 30, 2008
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack v11 Release 1 (11.1)

Data Grid application programming interface (API) calls setHeaderHeight and setFooterHeight allow you to change the height of Headers and Footers by units, not by pixels.

1 unit = 21 pixels by default.

To change the amount of pixels for each unit call the setRowHeightInPx command. Here is the syntax:

myGrid.setRowHeightInPx(rowHeight);



  • rowHeight: new default row height in pixels


For more information see the Data Grid API Reference doc at:

https://www.4d.com/support/documentation.html