SelfReferencingSettings Properties
Enabled | Description Gets the value that indicates whether self-referencing mode is enabled. ValueType boolean Default Value false |
FitColumnOnExpand | Description Gets or sets whether the ExpandColumn's width should be automatically adjusted to fit the text. ValueType boolean Default Value false |
ChildDataMember | Description Specifies the column where the child rows would refer to. ValueType string Default Value "" |
ParentDataMember | Description Specifies the column where the parent rows would refer to. ValueType string Default Value "" |
Table | Description Returns the WebGridTable object where this self-referencing mode is enabled. ValueType object (WebGridTable) Default Value null |
ExpandColumnMember | Description Gets the column name that contains the expand button. ValueType string Default Value "" |
ParentRootMode | Description Specifies the behavior of the self-referencing hierarchy. ValueType string Default Value "UseParentRootValue" |
ParentRootValue | Description Designates a custom value other than 'NULL' as a ParentRootValue. This is used in conjunction with ParentRootMode that should be set to UseParentRootValue. ValueType string Default Value null |
LoadOnDemand | Description Specifies whether to enable the LoadOnDemand feature. If this is enabled, the grid must have the InitializeSelfReferenceDataSource event handler implemented. ValueType boolean Default Value false |
IsTreeViewSelectionMode | Description Specifies whether the selection mode will use TreeView-like selection. ValueType boolean Default Value false |
ExpandColumnInnerTextPadding | Description Gets the padding size of the innerText of the ExpandColumn. ValueType integer Default Value 0 |