Version 21.2

PivotGridModel Class Properties

For a list of all members of this type, see PivotGridModel members.

Public Properties
 NameDescription
Public PropertyAllowHeaderColumnsSortingGets or sets a value indicating whether the header columns sorting is allowed.  
Public PropertyAllowHeaderRowsSortingGets or sets a value indicating whether the header rows sorting is allowed.  
Public PropertyAllowSortingGets or sets a value indicating whether the sorting of the value cells in columns is allowed.  
Public PropertyClientEventsSet implementations of client events raised by a widget.

Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events.

Examples:

1. Full implementation:

new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } }

2. Content of inline function:

new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } }

3. Name of global function:

new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note:

Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used.

Example:

new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public PropertyCompactColumnHeaderIndentationGets or sets the indentation for every level column when the compactColumnHeaders is set to true.  
Public PropertyCompactColumnHeadersGets or sets a value indicating wheter the column headers should be arranged for compact header layout – each hieararchy is in a single row.  
Public PropertyCompactRowHeaderIndentationGets or sets the indentation for every level row when the compactRowHeaders is set to true.  
Public PropertyCompactRowHeadersGets or sets a value indicating wheter the row headers should be arranged for compact header layout – each hieararchy is in a single row.  
Public PropertyCustomMoveValidationGets or sets a function that will be called to determine if an item can be moved in or dropped on an area of the pivot grid.  
Public PropertyDataSourceGets or sets an instance of $.ig.OlapXmlaDataSource or $.ig.OlapFlatDataSource.  
Public PropertyDataSourceIDGets or sets the ID of the data source widget.  
Public PropertyDataSourceOptionsGets or sets the data source options used to create an instance of $.ig.OlapXmlaDataSource or $.ig.OlapFlatDataSource.  
Public PropertyDefaultRowHeaderWidthGets or sets the default width of the row header.  
Public PropertyDeferUpdateGets or sets a value indicating whether to defer the update of the chnages to the data source until the updateGrid method is called.  
Public PropertyDisableColumnsDropAreaGets or sets a value indicating whether to disable the drag and drop for the columns drop area and the ability to use filtering and remove items from it.  
Public PropertyDisableFiltersDropAreaGets or sets a value indicating whether to disable the drag and drop for the filters drop area and the ability to use filtering and remove items from it.  
Public PropertyDisableMeasuresDropAreaGets or sets a value indicating whether to disable the drag and drop for the measures drop area and the ability to use filtering and remove items from it.  
Public PropertyDisableRowsDropAreaGets or sets a value indicating whether to disable the drag and drop for the rows drop area and the ability to use filtering and remove items from it.  
Public PropertyDragAndDropSettingsGets or sets the drag and drop settings.  
Public PropertyDropDownParentGets or sets a selector for the parent of the drop downs.  
Public PropertyFirstLevelSortDirectionGets or sets the default sort direction for the levels if no sort direction is specified in an item from the levelSortDirections option.  
Public PropertyFirstSortDirectionGets or sets the default sort direction for the rows.  
Public PropertyGridOptionsGets or sets the options specific to the igGrid that will render the pivot grid view.  
Public PropertyHeightGets or sets the height  
Public PropertyHideColumnsDropAreaGets or sets a value indicating whether to hide the columns drop area.  
Public PropertyHideFiltersDropAreaGets or sets a value indicating whether to hide the filters drop area.  
Public PropertyHideMeasuresDropAreaGets or sets a value indicating whether to hide the measures drop area.  
Public PropertyHideRowsDropAreaGets or sets a value indicating whether to hide the rows drop area.  
Public PropertyHtmlAttributesSets custom attributes for the main html element used by the control  
Public PropertyIDGets or sets the ID of the PivotGrid  
Public PropertyIsParentInFrontForColumnsGets or sets a value indicating whether a parent in the columns is in front of its children.  
Public PropertyIsParentInFrontForRowsGets or sets a value indicating whether a parent in the rows is in front of its children.  
Public PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLevelSortDirectionsGets or sets the level sort directions.  
Public PropertyLocaleGets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyWidthGets or sets the width  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub