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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Double Click on grid

(0) ShareShare
ReportReport
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

  • Suggested answer
    Petr Janík Profile Picture
    975 on at

    Hi Koeppe,

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

  • Verified answer
    Community Member Profile Picture
    on at

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans