* Delete some views from the datasheet. * * @param saveOptions The options that will be passed to the data saver.
(viewIds: string[], saveOptions: ISaveOptions)
| 301 | * @param saveOptions The options that will be passed to the data saver. |
| 302 | */ |
| 303 | public deleteViews(viewIds: string[], saveOptions: ISaveOptions): Promise<ICommandExecutionResult<void>> { |
| 304 | return this.doCommand<void>( |
| 305 | { |
| 306 | cmd: CollaCommandName.DeleteViews, |
| 307 | data: viewIds.map(viewId => ({ viewId })), |
| 308 | }, |
| 309 | saveOptions, |
| 310 | ); |
| 311 | } |
| 312 | |
| 313 | /** |
| 314 | * Modify view property. |
no test coverage detected