Itvisors / mendix-DataTables

DataTables.net wrapper for Mendix
Apache License 2.0
4 stars 3 forks source link

Export Excel Java Action #7

Closed moiz1322 closed 6 years ago

moiz1322 commented 6 years ago

Hello,

Is it possible to have the Export Data java action built for Mx 7?

moiz1322 commented 6 years ago

Found a workaround for Mx7:

  1. Export the datatablesexport module from the demo project.
  2. Add ExportDataColumn.java and ExportDataImpl.java to the javasource folder for this module
  3. Remove the following lines (20 & 21) of code in the ExportDataImpl.java file

import org.json.JSONArray; import org.json.JSONObject;

  1. Resolve errors on line 154 and 166 using eclipse to import the following fix: com.mendix.thirdparty.org.json.JSONArray.toJSONObjectCollection()