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

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