Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Increasing the window length upon click of subgrid + button

Posted on by 1,017

Hello team,

I am using one of the system entity and having a custom subgrid to another system entity.

Upon click of + button in he subgrid it is opening a new window on top of he maim window. The new window size is half of the main window,  now I want to increase the size od the new window. There is a maximize option but that doesn't really help because every time user have to maximize, instead I want to increase the size of new window.

I am not sure how to do this.Any help or guidance is highly appreciated.

*This post is locked for comments

  • Suggested answer
    Tim Dutcher Profile Picture
    Tim Dutcher 2,100 on at
    RE: Increasing the window length upon click of subgrid + button

    An unsupported way is with JavaScript OnLoad code like this:

    window.top.moveTo(0,0);

    window.top.resizeTo(screen.width,screen.height);

    Windows 10 hotkey:

    Windows Key + Up Arrow

    There are also Windows utilities that will monitor opened windows and auto-maximize them. I can't recall the name but I know I needed this in the past and found a utility for it. But you'd need to install it for each user. Probably not practical but if this is VERY annoying for them then it might be worth it.  :-)

  • Suggested answer
    TheMarkChristie Profile Picture
    TheMarkChristie 10,328 on at
    RE: Increasing the window length upon click of subgrid + button

    Hi James

    In this instance I would recommend that you look at creating a Quick create form - this will quickly pop up at the top of the screen and allow you to enter any specified data that is needed

    www.powerobjects.com/.../open-quick-create-sub-grid

  • Suggested answer
    Yadnyesh Kuvalekar Profile Picture
    Yadnyesh Kuvalekar 4,102 on at
    RE: Increasing the window length upon click of subgrid + button

    Hi,

    The purpose of showing half of main window is to distinguish from main window. It helps users in distinguishing main window from child window. So there is no supported way or setting to achieve this.

    But, if you still want to implement it, you can write a script on form load event to maximize the window size. This is unsupported way and I will not recommend this. Better you can ask your users to have one additional click which is not time consuming.

    Also, why don't you try for Quick Create form in this case?

    technet.microsoft.com/.../dn531126.aspx

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