Export the dynamically generated grid from ExtJS4 as an excel example _ extjs-js tutorial

Source: Internet
Author: User
Solved a small BUG where a table cannot be downloaded repeatedly. a bug occurs when grid Initialization is used. If you need it, you can search for it for a long time and find some examples, I don't know how to use it because I am a beginner ..

After studying the source code, we finally achieved the basic download. Fixed a small BUG where a table cannot be repeatedly downloaded, and a BUG that occurs during grid initialization.

Record the steps below. Maybe it will be used again next time.

1. js code is required for downloading. I have uploaded it.

2. Add references to your html file. Note the path problem. below is my path.

The Code is as follows:


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.