# export-csv **Repository Path**: william_ning/Export_CSV ## Basic Information - **Project Name**: export-csv - **Description**: A plugin of Jquery-based export table to csv file. - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://ningxiaofa.top - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-02 - **Last Updated**: 2021-06-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Export CSV The plugin of Jquery-based export table to csv file
## Api document ```bash $.exportCSV(Parameter) Parameter: array The array parameters have the following meanings: $.exportCSV( [ this, //Do not change '.className', //Selected table, Required, Type: string number, //All columns number, Required, Type: number ['column-1-name', 'column-2-name', 'column-3-name', 'column-4-name',...], //Column names, Required, Type: array 'fileNamePrefix', //The download prefix name, Required, Default: 'download', Type: string '-', // A date separator in a file, Default: '-', Type: string '_', // A time separator in a file, Default: '_', Type: string number // The length of random digits, Default: 6, Type: number ] ); ``` ## Note: ```bash You can only use the tag in html. like this: Export csv ``` ## For details: please see the code of these files.[THANKS]