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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Sales Order Line detail window size

(0) ShareShare
ReportReport
Posted on by 552

Hi guys,

In Sales Order, Line view, usually there are 3 main portion of information "window" : 

- Header information

- Line information in grid

- Line details

Can we make the Line information in the middle smaller ?

  

In form development  we can see structure like this : 

The normal behavior (I think) is we can collapse and expand the Tab Header and Tab LineDetails below, but the middle Lines in grid is only can get bigger when either the two Tab above and below it collapse, but cannot smaller (let say only for displaying 2 rows).

The intention here is, in my business process, the item will be not more than 2, top is 3, while the detail I will put more information, so basically I need the middle one smaller while the Line details Tab page is basically scrollable (means can make it larger)

Thanks,

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at
    RE: Sales Order Line detail window size

    Hi ken,

    Just try to adjust the grid height to some integer value and check.

    Grid height will be available under property of the grid. At last of the property window you can see height and width property. Change it to manual and set the whole value.

    Also check whether that property is editable in extended form. If its not editable you can set the grid height in the init method of the form using COC or event handler.

    Thanks,

    Girish S.

  • Ken Manhattan Profile Picture
    552 on at
    RE: Sales Order Line detail window size

    Hi Girish,

    That is actually what I've been looking, however there is no property Height for me. Is this the same at your side ?

    Thanks

  • Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: Sales Order Line detail window size

    Hi Ken, I believe we don't have Height property listed in these properties in D365 F&O. However, it can be accessed in code level, Auto Declaration of grid is yes for SalesTable, you can try accessing Height in init method in extension class and change it but I would suggest to leave it and inform your customer that its as per Microsoft design.

    community.dynamics.com/.../275034

  • Ken Manhattan Profile Picture
    552 on at
    RE: Sales Order Line detail window size

    Hi Mohit,

    Noted on the suggestion for customer. To be frank, the SalesTable form is just my example. What actually happened is I have a custom form which I developed similar like SalesTable form, but I have that unique request to make the middle one smaller, so I'm using SalesTable to explain to this forum easily.

    However thanks for the suggestion, and just found out that actually we can have the Height property through code (with Autodeclaration=On), from there I'm doing research and found this interesting topic :

    community.dynamics.com/.../how-to-set-form-control-grid-property-height-to-required-height

    A simple follow up question then, in that topic, talked about Grid property VisibleRowMode, what is the base enum of this ? since the person talked about VisibleRowMode to Fixed, but when I tried that, there is different component ->

    I would be happy if I really can make my grid to fixed 3 rows.

    thanks,

  • GirishS Profile Picture
    27,827 Moderator on at
  • Ken Manhattan Profile Picture
    552 on at
    RE: Sales Order Line detail window size

    Thanks Girish,

    I just tried this, but unfortunately it's not working. Perhaps I should leave it like Mohit's suggestion. :)

  • GirishS Profile Picture
    27,827 Moderator on at
    RE: Sales Order Line detail window size

    Seems you have deleted the post - But answering to your question Height mode and width mode property will be visible only if you set the form pattern to custom.

    If you follow the standard form pattern you won't have that property to set it manually. So better you do it via code or convince the client.

    Thanks,

    Girish S.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans