@baosight/er4j 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/er4j-dist/er4j.es.js +4164 -4134
- package/er4j-dist/er4j.es.js.map +1 -1
- package/er4j-dist/er4j.umd.js +39 -39
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/types/utils/er.d.ts +13 -0
- package/package.json +1 -1
|
@@ -742,6 +742,19 @@ export declare namespace ER {
|
|
|
742
742
|
* @returns void
|
|
743
743
|
*/
|
|
744
744
|
static importExcelFile(grid: any, processData?: (row: any) => boolean, improtData?: (data: Model[]) => void): void;
|
|
745
|
+
/**
|
|
746
|
+
* 导出grid到excel
|
|
747
|
+
* @param gridApi gridApi
|
|
748
|
+
* @param columnApi columnApi
|
|
749
|
+
* @param exportOptions 导出选项
|
|
750
|
+
*/
|
|
751
|
+
static exportGridToExcel(gridApi: GridApi, columnApi: ColumnApi, exportOptions?: {
|
|
752
|
+
fileName?: string;
|
|
753
|
+
sheetName?: string;
|
|
754
|
+
isBandView?: boolean;
|
|
755
|
+
isShowFooter?: boolean;
|
|
756
|
+
isCheckedRows?: boolean;
|
|
757
|
+
}): void;
|
|
745
758
|
/**
|
|
746
759
|
* 判断颜色是否为透明色
|
|
747
760
|
* @param color 颜色
|