Version

PivotGridModel Class Members

The following tables list the members exposed by PivotGridModel.

Public Constructors
 NameDescription
Public ConstructorPivotGridModel ConstructorCreate PivotGridModel  
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)
Public Methods
 NameDescription
Public MethodAddClientEventAdds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public MethodToJsonSerializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected Methods
 NameDescription
Protected MethodCamelizeConverts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodEnsureClientEventsAdds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Protected MethodGetBoolGets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetCharSets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDateTimeGets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDoubleGets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIEnumerable<T>Gets the value of an IEnumerable property of the model. If the value is null a new IEnumerable of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIntGets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetJSLiteralSets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetLongGets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetModel<T>Gets the value of an IModel property of the model. If the value is null a new model of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringGets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringEnum<T>Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValue<T>Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValueModel<T>Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromBoolSerializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDateTimeSerializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDoubleSerializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromFloatSerializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIDictionarySerializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIEnumerableSerializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIntSerializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromModelStoreOverridden. ModelBase.JsonFromModelStore  
Protected MethodJsonFromObjectSerializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromStringSerializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBoolSets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBrush (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCamelizedStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCharGets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDateTimeSets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDoubleSets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIEnumerable<T>Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIntSets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetJSLiteralGets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetLongSets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetModel<T>Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringSets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetValue<T>Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodTransformDataTransforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodValidValueType<T>Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub