rest语法:
var context = _spPageContextInfo; this.SiteUrl = context.webServerRelativeUrl;
GetExcelData: function (fileName,callbackMethod) { var method = "ExcelRest.aspx/Shared Documents/" + fileName + "/model/Ranges('Sheet1!A1|V20')?$format=json";
url:(this.UriList.GetExcelData + "/" + method).then(callbackMethod);
//使用ajax请求,返回一个JSON格式的数组 }
转载于:https://www.cnblogs.com/Q-lucia/p/4092287.html
相关资源:JAVA上百实例源码以及开源项目