ModelDataProvider Fields |
The ModelDataProvider type exposes the following members.
Name | Description | |
---|---|---|
AddButton | If enabled, an 'Add item' button will be displayed beneath the grid. This field is valid only within a DataGrid or Composite Web Part configuration. | |
CacheExpirationMinutes | Specifies how long the data is cached (in minutes). | |
CacheGranularity | Specifies how the data is cached. Choose 'User' if the query depends on the current user (e.g. user ID in the query or security trimmed data). | |
CacheKey | Specifies the cache key for this data provider. (Inherited from BaseDataProvider.) | |
Entity | Specifies the entity that should be used to display the records. | |
RowLimit | Specifies a row limit. | |
SortFields | Contains fields which should be used to sort the search results. |