The following tables list the members exposed by TreeGridModel.
Name | Description | |
---|---|---|
TreeGridModel Constructor | Initializes a new instance of the igTreeGrid Model class. |
Name | Description | |
---|---|---|
CHILD_DATA_URL_KEY | default property name in GET request used to populate childDataKey property | |
DEFAULT_EXPANSION_STATE | default expansion state for records that have children | |
flatToHierarchicalData | If set to true then the passed flat(if ForeignKey is defined) data to the gridModel is transformed to hierarchical data | |
GENERATE_FLAT_DATA | configure whether to generate flat data | |
LIST_EXPANSION_STATES_KEY | default key in the GET request to get the expansion state per record(URL for expansion state is like - listExpansionStates[primaryKeyValue]=true/false) | |
PROPERTY_DATA_LEVEL_KEY | default property name in GET request used to populate propertyDataLevel property from dataSourceSettings | |
PROPERTY_ENABLEREMOTELOADONDEMAND_KEY | default property name in GET request indicating remoteLoadOnDemand is enabled | |
PROPERTY_EXPANDED_KEY | default property name in GET request used to populate propertyExpanded property from dataSourceSettings | |
PROPERTY_FOREIGN_KEY | default property name in GET request to take foreignkey | |
PROPERTY_FOREIGN_ROOT_VALUE_KEY | default property name in GET request to take foreignkey root value | |
PROPERTY_INITIAL_EXPAND_DEPTH_KEY | default property name in GET request used to populate initialExpandDepth property | |
PROPERTY_PATH_KEY | default property name in GET request to take children for the layout specified by the path - used when EnableRemoteLoadOnDemand is true (Example: If the treegrid has column ID set as primary key(and its type is integer) then if path is 1/10 - then first it should be founds record with pk value 1 from root layout - takes its children and finds amongst them record with primary key value 10. Returns its children) |
Name | Description | |
---|---|---|
AccessibilityRendering | renders ARIA attributes and other accessibility attributes IGridModel.AccessibilityRendering (Inherited from Infragistics.Web.Mvc.GridModel) | |
AdjustVirtualHeights | IGridModel.AdjustVirtualHeights (Inherited from Infragistics.Web.Mvc.GridModel) | |
AggregateTransactions | IGridModel.AggregateTransactions (Inherited from Infragistics.Web.Mvc.GridModel) | |
AlternateRowStyles | IGridModel.AlternateRowStyles (Inherited from Infragistics.Web.Mvc.GridModel) | |
AnimationDuration | expand / collapse animation duration (Inherited from Infragistics.Web.Mvc.GridModel) | |
AutoAdjustHeight | if false, Height will be directly set on the grid scrolling container, instead of the topmost DIV container IGridModel.AvgRowHeight (Inherited from Infragistics.Web.Mvc.GridModel) | |
AutoCommit | IGridModel.AutoCommit (Inherited from Infragistics.Web.Mvc.GridModel) | |
AutofitLastColumn | IGridModel.AutofitLastColumn (Inherited from Infragistics.Web.Mvc.GridModel) | |
AutoFormat | IGridModel.AutoFormat (Inherited from Infragistics.Web.Mvc.GridModel) | |
AutoGenerateColumns | Sets the value of autoGenerateColumns if false a columns collection should be specified if no columns collection is specified and the property is false, will try to auto-generate anyway IGridModel.AutoGenerateColumns (Inherited from Infragistics.Web.Mvc.GridModel) | |
AutoGenerateLayouts | auto generates layouts from the Model's dataSource that's passed (Inherited from Infragistics.Web.Mvc.GridModel) | |
AvgColumnWidth | IGridModel.AvgColumnWidth (Inherited from Infragistics.Web.Mvc.GridModel) | |
AvgRowHeight | Sets the average row height for rows (through CSS) IGridModel.AvgRowHeight (Inherited from Infragistics.Web.Mvc.GridModel) | |
Caption | text description above the grid header (spans all columns ) IGridModel.Caption (Inherited from Infragistics.Web.Mvc.GridModel) | |
ChildDataKey | Property name of the array of child data in a hierarchical data source. | |
ClientDataSourceType | type of the ClientDataSource. See the ClientDataSourceType enum IGridModel.ClientDataSourceType (Inherited from Infragistics.Web.Mvc.GridModel) | |
ClientEvents | Set 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) | |
CollapseTooltip | collapse tooltip (Inherited from Infragistics.Web.Mvc.GridModel) | |
ColumnLayouts | (Inherited from Infragistics.Web.Mvc.GridModel) | |
Columns | the grid columns (Inherited from Infragistics.Web.Mvc.GridModel) | |
ColumnVirtualization | horizontal virtualization IGridModel.ColumnVirtualization (Inherited from Infragistics.Web.Mvc.GridModel) | |
DataMember | defines the table name in the dataset that contains data for the current layout (Inherited from Infragistics.Web.Mvc.GridModel) | |
DataSource | data source - actual data (should implement IQueryable) IGridModel.DataSource (Inherited from Infragistics.Web.Mvc.GridModel) | |
DataSourceSettings | Gets or sets the data source settings. | |
DataSourceType | IGridModel.DataSourceType (Inherited from Infragistics.Web.Mvc.GridModel) | |
DataSourceUrl | URL that will be used to fetch data if DataSource is not defined, or for subsequent calls to paging, sorting, filtering, etc. IGridModel.DataSourceUrl (Inherited from Infragistics.Web.Mvc.GridModel) | |
DataView | the DataView property contains the filtered and transformed data records after data binding and all feature transformations have been applied /// IGridModel.DataView (Inherited from Infragistics.Web.Mvc.GridModel) | |
DefaultColumnWidth | Sets the defaultColumnWidth of the grid columns - px or just a number IGridModel.DefaultColumnWidth (Inherited from Infragistics.Web.Mvc.GridModel) | |
EnableHoverStyles | IGridModel.EnableHoverStyles (Inherited from Infragistics.Web.Mvc.GridModel) | |
EnableRemoteLoadOnDemand | Specifies to the tree grid if data is loaded on demand from a remote server. Default is false. | |
EnableResizeContainerCheck | enables/disables check for resizing grid container (Inherited from Infragistics.Web.Mvc.GridModel) | |
EnableUTCDates | IGridModel.EnableUTCDates (Inherited from Infragistics.Web.Mvc.GridModel) | |
ExpandCollapseAnimations | expand/collapse animations (Inherited from Infragistics.Web.Mvc.GridModel) | |
ExpandColWidth | expand column width (Inherited from Infragistics.Web.Mvc.GridModel) | |
ExpandTooltip | expand tooltip (Inherited from Infragistics.Web.Mvc.GridModel) | |
FeatureChooserIconDisplay | Configures how the feature chooser icon should display on header cells - e.g. to display as gear icon or to not show gear icon but on click/tap the header cell to show the feature chooser (Inherited from Infragistics.Web.Mvc.GridModel) | |
Features | a list of grid features (Inherited from Infragistics.Web.Mvc.GridModel) | |
FixedFooters | fixed footer support IGridModel.FixedFooters (Inherited from Infragistics.Web.Mvc.GridModel) | |
FixedHeaders | if fixed headers is enabled, all headers and features that have their logic rendered in the header, will be rendered in a separate table above the data records table IGridModel.FixedHeaders (Inherited from Infragistics.Web.Mvc.GridModel) | |
FlatData | Getter for flat data(it is set after processing hierarchical data - e.g. ProcessHierarchicalData is called) | |
FlatVisibleData | Getter for flat visible data - shows only (visible)expanded records (it is set after processing hierarchical data - e.g. ProcessHierarchicalData is called) | |
ForeignKey | defines the property in the child layout which holds the non-unique id that links the child layout to the parent. in cases of one to many relationships a foreign key will most probably *not* match the primary key of the child layout, so it will need to be defined. in one to one relationships the ForeignKey may be the same as the PrimaryKey. Note that when binding to flat data, the ChildDataKey option also needs to be set to an existing object that's of type ICollection (or a type that implements ICollection). | |
ForeignKeyRootValue | Specifies which item in the data source to treat as root row by its primaryKey value. Defaults to -1 (which includes the entire data source) | |
GenerateCompactJSONResponse | IGridModel.GenerateCompactJSONResponse (Inherited from Infragistics.Web.Mvc.GridModel) | |
Height | Gets/sets the Height of the grid IGridModel.Height (Inherited from Infragistics.Web.Mvc.GridModel) | |
HtmlAttributes | Sets custom attributes of the div on which the Grid widget will be created. (Inherited from Infragistics.Web.Mvc.GridModel) | |
HtmlHelper | (Inherited from Infragistics.Web.Mvc.GridModel) | |
ID | Sets the ID of the grid element that will contain all data rows when rendered IGridModel.ID (Inherited from Infragistics.Web.Mvc.GridModel) | |
Indentation | Specifies the indentation (in pixels or percent) for a tree grid row. Nested indentation is achieved by calculating the level times the indentation value. Ex: '10px' or '5%'. Default is 30. | |
InitialExpandDepth | initial expansion of rows (Inherited from Infragistics.Web.Mvc.GridModel) | |
InitialIndentationLevel | if initial indentation level is set then it is used to be calculated width of the data skip column(usually used when remote load on demand is enabled) | |
IsDataSetTableSource | Sets the original source type True, when the grid is bound to datatable/dataset False, when the grid is bound to any other source IGridModel.AutoGenerateColumns (Inherited from Infragistics.Web.Mvc.GridModel) | |
JsonpRequest | When dataSource is string defines whether to set data source of type JSONP (Inherited from Infragistics.Web.Mvc.GridModel) | |
Language | Gets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
ListExpansionStates | Gets or sets the list expansion states. | |
ListExpansionStatesKey | Gets or sets key | |
LoadOnDemand | load on demand support (Inherited from Infragistics.Web.Mvc.GridModel) | |
Locale | Defines locale specific options of igTreeGrid | |
LocalSchemaTransform | this will be always seto to False in the MVC Wrapper. This means that the $.ig.DataSource Client control will not apply any schema locally ! IGridModel.LocalSchemaTransform (Inherited from Infragistics.Web.Mvc.GridModel) | |
MergeUnboundColumns | If true then the unbound columns are merged to the datasource at runtime - indeed DataSource is expanded with the new data and this could cause performance issues when dataSource is huge if false then the unbound data is sent to the client (Inherited from Infragistics.Web.Mvc.GridModel) | |
OData | IGridModel.OData (Inherited from Infragistics.Web.Mvc.GridModel) | |
PrimaryKey | optional primary key . Mandatory if Editing is enabled IGridModel.PrimaryKey (Inherited from Infragistics.Web.Mvc.GridModel) | |
RecordsMetadata | Gets the records metadata. | |
Regional | Gets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
RenderCheckboxes | IGridModel.RenderCheckboxes (Inherited from Infragistics.Web.Mvc.GridModel) | |
RenderExpansionCellFunction | Reference or name of a JavaScript function responsible for rendering the expansion indicator. This function is called ONLY if renderExpansionIndicatorColumn is set to true. | |
RenderExpansionIndicatorColumn | Specifies whether or not to render the expansion indicated in its own column. Default is true. | |
RenderFirstDataCellFunction | a reference or name of a javascript function which changes first data cell - renders indentation according to databound level | |
RequestType | Specifies the HTTP verb to be used to issue the requests to a remote data source. (Inherited from Infragistics.Web.Mvc.GridModel) | |
ResponseContentType | Content type of the response. See http://api.jquery.com/jQuery.ajax/ => contentType (Inherited from Infragistics.Web.Mvc.GridModel) | |
ResponseDataKey | property in the response which holds the records array IGridModel.ResponseDataKey (Inherited from Infragistics.Web.Mvc.GridModel) | |
Rest | IGridModel.Rest (Inherited from Infragistics.Web.Mvc.GridModel) | |
RestSettings | IGridModel.RestSettings (Inherited from Infragistics.Web.Mvc.GridModel) | |
RowVirtualization | vertical virtualization IGridModel.RowVirtualization (Inherited from Infragistics.Web.Mvc.GridModel) | |
ScrollSettings | Settings related to content scrolling IGridModel.ScrollSettings (Inherited from Infragistics.Web.Mvc.GridModel) | |
ShowExpansionIndicator | Specifies if rows(that have child rows) will have an expander image that will allow end users to expand and collapse them. This option can be set only at initialization. | |
ShowHeader | show/hide grid header IGridModel.ShowHeader (Inherited from Infragistics.Web.Mvc.GridModel) | |
TabIndex | tab index of the grid main container element IGridModel.TabIndex (Inherited from Infragistics.Web.Mvc.GridModel) | |
TemplatingEngine | the templating engine that will be used to render the grid and some specific parts of its ui (Inherited from Infragistics.Web.Mvc.GridModel) | |
UpdateUrl | IGridModel.UpdateUrl (Inherited from Infragistics.Web.Mvc.GridModel) | |
Virtualization | Enables/disables virtualization. Virtualization can greatly enhance rendering performance. If enabled, the number of actual rendered rows (DOM elements) will be constant and related to the visible viewport of the grid. As the end user scrolls, those DOM elements will be dynamically reused to render the new data. IGridModel.Virtualization (Inherited from Infragistics.Web.Mvc.GridModel) | |
VirtualizationMode | VirtualizationMode can be set to 'fixed' or 'continuous' IGridModel.Virtualization (Inherited from Infragistics.Web.Mvc.GridModel) | |
Width | Gets/sets the Width of the grid IGridModel.Width (Inherited from Infragistics.Web.Mvc.GridModel) |
Name | Description | |
---|---|---|
Store | Return the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase) |
Name | Description | |
---|---|---|
AddClientEvent | Adds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
DataBind | Overloaded. performs data binding and calls TransformDataSource on all features after that, sets the resulting IQueryable to the DataView property (Inherited from Infragistics.Web.Mvc.GridModel) | |
GetChildData | Gets the child data for the specified path. Used when remoteLoadOnDemand is true. (Example: If the treegrid has column ID set as primary key(and its type is integer) then if path is 1/10 - then it founds record with pk value 1 from root layout - takes its children and finds amongst them record with primary key value 10 - returns its children) | |
GetData | Overloaded. First performs data binding and after that gets the part of processed data that is specified by path | |
GetDataColumns | Get grid data columns - it is useful when multicolumnheaders are enabled (Inherited from Infragistics.Web.Mvc.GridModel) | |
GetExpansionStatesFromQueryString | Get list of expansion states from query string. The URL format of expanded records is expansionUrlKey[primaryKeyValue]=true/false OR expansionUrlKey(primaryKeyValue)=true/false | |
GetUnboundColumns | Get list of unbound columns (Inherited from Infragistics.Web.Mvc.GridModel) | |
HasUnboundColumns | Returns whether the grid has unbound columns (Inherited from Infragistics.Web.Mvc.GridModel) | |
LoadTransactions<T> | loads a list of transactions from the POST data, in case saveChanges() is invoked in the client side and UpdateUrl is set to a valid controller action (GridUpdating) (Inherited from Infragistics.Web.Mvc.GridModel) | |
ProcessDataSource | Processes the data source recursively as generating flatData and flatVisibleData, also setting metadata as dataLevel, expansion state, etc | |
ProcessDataSourceRecursively | Processes the data source recursively for data layout. Generates flatData and flatVisibleData, also setting metadata as dataLevel, expansion state, etc | |
SetExpansionState | Set expansion state for the specified data record | |
SetUnboundValues | Overloaded. This method set unbound values for the specified column key. It should be called after unbound columns with the specified key is set. It should be set mapping between key of the dictionary and primary key (Inherited from Infragistics.Web.Mvc.GridModel) | |
ToJson | Serializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
TransformFlatToHierarchicalData | Transform flat to hierarchical data(it should be set PrimaryKey, ForeignKey). Grid model should have property property name defined in "ChildDataKey". |
Name | Description | |
---|---|---|
Camelize | Converts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
EnsureClientEvents | Adds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
GetBool | Gets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetChar | Sets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetDateTime | Gets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetDouble | Gets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetIEnumerable<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) | |
GetInt | Gets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetJSLiteral | Sets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetLong | Gets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetModel<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) | |
GetString | Gets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetStringEnum<T> | Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetValue<T> | Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetValueFast | get value using cached compiled linq expressions (Inherited from Infragistics.Web.Mvc.GridModel) | |
GetValueModel<T> | Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromBool | Serializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromDateTime | Serializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromDouble | Serializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromFloat | Serializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromIDictionary | Serializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromIEnumerable | Serializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromInt | Serializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromModelStore | ModelBase.JsonFromModelStore (Inherited from Infragistics.Web.Mvc.GridModel) | |
JsonFromObject | Serializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromString | Serializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
ProcessDataToJsonResult | Overridden. Processes the data to JSON result - - as adding metadata for each record | |
SetBool | Sets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetBrush | (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetCamelizedStringEnum<T> | Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetChar | Gets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetDateTime | Sets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetDouble | Sets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetIEnumerable<T> | Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetInt | Sets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetJSLiteral | Gets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetLong | Sets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetModel<T> | Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetString | Sets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetStringEnum<T> | Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetValue<T> | Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
TransformData | Transforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
ValidValueType<T> | Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase) |
View on GitHub