Skip to content

shikhirsingh/ExtJS-Grid-PDF-Exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Ext JS PDF Grid Exporter Sample

This is a sample application which shows how to export the data from a Grid to PDF using the pdfmake library.

Version History

  • v1.0 - Initial Release

Author

Blog

Dependencies to compile

Wait, I just want to see how this app looks without compiling

  • Run it directly from github here

Steps to install and run this application

  1. Ensure your Sencha Cmd version installed is greater than 6.1.2+
  2. Ensure that the exporter plugin is installed in your workspace/packages/local/exporter directory.
  3. Generate a new project via: sencha -sdk /path/to/ext6 generate app GridExportPdf workspace/GridExportPdf
  4. Copy the content of the src folder in this report to the newly created project
  5. Run the following command in the directory of this application: sencha app watch
  6. Load the page in your browser: http://localhost:1841/GridExportPdf

Troubleshooting Tips

  • Make sure your are placing the correct directory into your Sencha Cmd workspace. You need to put in just the src directory
  • Ensure your workspace/ext directory is running Ext JS 6.x (not earlier build)
  • Make sure you have installed the Sencha Exporter package. Currently it is bundled with Ext JS Pivot Grid addons, although Pivot grid is not a dependency
  • I've not been able to maintain this release(I no longer work at Sencha) and have accepted a couple of pull requests without doing a proper code review. Please look at the "Release" marked 1.0 as it was the last well tested version

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Sample app which shows how to export a grid to PDF

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages