Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Double Click on grid

Posted on by 460

Hi,

I am searching for a way to make AX jump from an overview grid to a detail tabpage with a doubleclick. I would overide the doubleclickMethod on the form, but I have no idea how.

Thanks.

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Double Click on grid

    If you want the default behaviour from a list page, do as Petr says.

    If you're talking about changing tabpages in the same form, override the mouseDblClick method on the grid control as following:

    public int mouseDblClick(int _x, int _y, int _button, boolean _Ctrl, boolean _Shift)

    {

       int ret;

       ret = super(_x, _y, _button, _Ctrl, _Shift);

       MyTabPage.activatePage();

       return ret;

    }

    Note that your tabpage must have the AutoDeclaration property set to Yes.

  • Suggested answer
    Petr Janík Profile Picture
    Petr Janík 975 on at
    RE: Double Click on grid

    Hi Koeppe,

    You should use property DefaultAction on an overview grid. See this How to: Specify the Default Action for the List Page Grid 

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