get_model()
Returns the model object of the widget, which contains a number of useful properties related to the widget.
In the case of the SharePoint Document Grid widget, these returned properties and their types are:
- AllowAddingDocuments: Boolean
- AllowDeletingDocuments: Boolean
- AllowDownloadingDocuments: Boolean
- AllowEditingDocuments: Boolean
- AllowedExtensions: String
- ControlDataId: String
- CurrentRecordId: String
- CurrentRecordLogicalName: String
- GridSettings: Object
- AddRecordButtonText: String
- ExcelExportAllPages: Boolean
- ExcelExportFileName: String
- ExcelExportFilterable: Boolean
- Filterable: Boolean
- Groupable: Boolean
- PageSize: Integer
- Pageable: Boolean
- PageableAllowRefresh: Boolean
- PageableButtonCount: Integer
- PageablePageSizes: String
- ReorderableColumns: Boolean
- ResizableColumns: Boolean
- ServerFiltering: Boolean
- MaxFileSizeBytes: Integer