Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Sales Order Line detail window size

(0) ShareShare
ReportReport
Posted on by 504

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,

  • GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 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.

  • Ken Manhattan Profile Picture
    Ken Manhattan 504 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
    GirishS 27,832 Super User 2024 Season 1 on at
  • Ken Manhattan Profile Picture
    Ken Manhattan 504 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,

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,547 Super User 2024 Season 1 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
    Ken Manhattan 504 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

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 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.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,479 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans