Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

control grid height

Posted on by 11,873

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

  • Suggested answer
    Shumba Profile Picture
    Shumba on at
    RE: control grid height

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

  • Suggested answer
    Denis Macchinetti Profile Picture
    Denis Macchinetti 16,444 on at
    RE: control grid height

    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

  • maram fraij Profile Picture
    maram fraij 11,873 on at
    RE: control grid height

    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
    Denis Macchinetti 16,444 on at
    RE: control grid height

    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

  • Dick Wenning Profile Picture
    Dick Wenning 8,705 on at
    RE: control grid height

    EP, Ax form or report?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans