Export an Excel template using Jsexcelxml.js

Source: Internet
Author: User
Tags save file

Let's start with a preview.

Business system display export template diagram

    • Function description

The world is always fits together, since our customers are required to export Excel, of course, will also lead to Excel, then the problem comes, how our business system know what the user provides data, then the user needs of the data template came into being, The template generation feature is available in the latest version of Jsexcelxml.

var tmpdlg = $. Exportexceltmp ({options});

Tmpdlg. Exportexceltmp (' open ');

2. Parameter description

{

SheetName: ' User Data template ',

Headinfo: [{field: ' F_state ', title: ' Account Status ', DataSource: [' Effective #1# ', ' Invalid #0# ']}],

Savename: ' User Data import template ',

SWF: '.. /.. /.. /commjs/exportexcel.swf '

}

Property

Role

SheetName

Template sheet Name

Headinfo

Template column Information

Savename

Template Name

Swf

Save File SWF Address

    • Headinfo

Property

Role

Field

Column fields

Title

Display Name

DataSource

Data source [' value#key# ', ' value2#key2# ']

Export an Excel template using Jsexcelxml.js

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.