Version

GridSelection Class Properties

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

Public Properties
 NameDescription
Public PropertyActivationenables / disables activation (when CTRL is used) and keyboard navigation in general  
Public PropertyAllowMultipleRangeSelectionprovides the ability to ctrl drag multiple selection windows when selection mode is 'cell'  
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 PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLocaleGets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyModeSelection mode. Can be either row or cell  
Public PropertyMouseDragSelectallows selecting multiple cells by dragging them with the mouse  
Public PropertyMultipleCellSelectOnClickif true multiple selection of cells is done as if CTRL is being held. the option is disregarded if mode is set to row.  
Public PropertyMultipleSelectionenables / disables multiple selection of cells and rows  
Public PropertyNamename of the feature, need to be set by every feature (Inherited from Infragistics.Web.Mvc.GridFeature)
Public PropertyPersistallows selection persistance between states. Requires grid's primaryKey option to be set  
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertySkipChildrenif true will skip going into child grids with down / up / right / left arrow keys  
Public PropertyTouchDragSelectallows selecting multiple cells by touch-enabled drag  
Public PropertyWrapAroundwrap around enables automatic navigation to the opposite record or cell on the next user action, once the first or last one is reached  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub