问题描述:
报表保存接口
问题回答:
您好,您要单独保存的话,用回调的save。具体如下:
- var viewer = null;
- var myApi;
- GrapeCity.ActiveReports.Designer.create('#ar-web-designer', {
- rpx: { enabled: true },
- appBar: { openButton: { visible: true } },
- data: { dataSets: { canModify: true }, dataSources: { canModify: true } }
- }).then((api => {
- myApi = api
- myApi.documents.saveById("new","new")
- }));
复制代码
|