Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Replicate calling export to excel from kernel

Posted on by 64

I want to replicate the kernel call to the performPushAndFormatting method that occurs when we click on the export button to excel in a grid.

I want to duplicate the SysGridExportToExcel class to export all the grid that has a form in several tabs of the same excel.

By using the tasks of selecting and copying I managed to make the call by code. but I still have to fill in the 3 containers that the method receives and that fill the kernel, does anyone know how it generates them?

_moneyColumns,
_columnAlignments,
_formatColumns
public static void performPushAndFormatting(container _moneyColumns, container _columnAlignments, container _formatColumns, int _numberOfRows)


*This post is locked for comments

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans