我正在尝试将表格导出到excel,我可以做到,但是工作表是从左到右,我希望它是从右到左。当然,我可以手动执行(Page Layout -> Sheet right-to-left),但我希望它可以自动执行。我正在用于导出jquery.table2excel.js:
//table2excel.js
(function($, window, document, undefined) {
var pluginName = "table2excel",
defaults = {
exclude: ".noExl",
name: "Table2Excel"
};
// The actual plugin constructor
function Plugin(element, options) {
this.element = element;
// jQuery has an extend method which merges the contents of two or
// more objects, storing the result in the first object. The first object
// is generally empty as we don't want to alter the default options for
// …Run Code Online (Sandbox Code Playgroud)