Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

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 ?

  • 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?

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans