Home Reference Source
public class | source

LevelSelectionInfo

Extends:

TypedObject → LevelSelectionInfo

Support for selection based on exclusion. In scenarios where you have lazy loaded grids, selection cascade and select all will simply set flags on the selectionInfo object. The selectedObjects and selectedKeys no longer contain references to data that is selected Instead, they contain the items that the user explicitly selected. unSelectedObjects will contain items that the user explicitly unselected. This helps maintain selection across very large lazy loaded datasets. When you set the enableSelectionExclusion flag to true, use the selectionInfo object to access the selection (or build a query on the server) to identify the objects user selected. The selectionInfo object is a simple list of LevelSelectionInfo objects, which contains explicitly selected and unselected objects, which can then be used to construct a query on the server as to what the selection on the client was.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

Method Summary

Public Methods
public

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Constructors

public constructor() source

Override:

TypedObject#constructor

Public Members

public excludedObjects: Array source

Properties:

NameTypeAttributeDescription
excludedObjects *

public levelNestDepth: Number source

Properties:

NameTypeAttributeDescription
levelNestDepth *

public selectedObjects: Array source

Properties:

NameTypeAttributeDescription
selectedObjects *

Public Methods

public getClassNames(): Array source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

Array