After exporting the Mendix module to another project, the export function of the Advanced Excel component on the pages in the module is no longer available.

0
In the merged project, I made the following attempts: 1.Recreate the page and export function for the Nanoflow. 2. In the market, Advanced Excel has been re-downloaded and replaced. 3. Replace all the files in the uselib and vendorlib directories of the project with the files of the exported project. 4. Re-create a new module for test export  The error still exists, However, if the newly created test module is exported to the project where the original export module is located, the export function can be executed normally. how to solve this problem? The details are shown in the following picture:
asked
1 answers
0

Instead of using the Datagrid name as a string in the JavaScript widget configuration, follow these steps:

  1. Remove the Datagrid name field from the Export To Excel JavaScript action configuration.

  2. Make sure you pass the selected items from the DataGrid as a parameter:

    • You’re already doing this in actionButton4 by setting the argument to Selection of dataGrid2_1.

  3. Modify the Export To Excel JavaScript action to use the EntityList parameter directly, instead of trying to access the DataGrid by name.

    • The widget can automatically handle the export using the list if it’s passed correctly.

    • This avoids any issues with undefined or DOM lookup failures.

I hope this can be helpful.

answered