web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

control grid height

(0) ShareShare
ReportReport
Posted on by

How can I control grid control height; I need the height to be suitable to number of record included by the grid i.e. no extra spacing ?

*This post is locked for comments

  • Dick Wenning Profile Picture
    8,705 Moderator on at

    EP, Ax form or report?

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi Maram

    As per my understanding, the Grid Form control have the property Height.

    You can set this property dynamically according to the number of records that you want show on the form, etc., like :

    Grid.heightValue(xxx);

    Regards

  • maram fraij Profile Picture
    on at

    AX client.

    When I set this property to Auto , the grid body has empty space after the records i.e. the size of the grid is not fixed based on number of records.

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi Maram

    The grid have columns linked to some memo fields?

    If yes, you have to set a fixed height to the StringEdit grid control.

    Regards

  • Suggested answer
    Shumba Profile Picture
    Microsoft Employee on at

    The grid has a property called 'Extended Style'. Select 'grid_autoSizeHeight' for this property. This will give you the desired height for the grid.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans