Version

GridSorting Class Properties

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

Public Properties
 NameDescription
Public PropertyApplySortedColumnCssif true, a special ascending/descending class will be applied to every cell in the sorted column. This can be turned off for performance reasons  
Public PropertyCaseSensitiveSorting case sensitivity  
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 PropertyColumnSettingslist of column settings  
Public PropertyCustomSortFunctioncustom sort function(or name of the function as a string) accepting three parameters - the data to be sorted, an array of data source field definitions, and the direction to sort with (optional). The function should return the sorted data array  
Public PropertyDialogWidgetName of the dialog widget to be used. It should inherit from $.ui.igGridModalDialog.  
Public PropertyFirstSortDirectionthe sorting direction that will be applied on an unsorted column when it's clicked for teh first time throught the UI  
Public PropertyInheritif this property is set to true in a feature it means that it will be inherited in child layouts, if any (Inherited from Infragistics.Web.Mvc.GridInheritableFeature)
Public PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLocalea list of configurable and localized labels.  
Public PropertyModalDialogAnimationDurationSpecifies time of milliseconds for animation duration to show/hide modal dialog  
Public PropertyModalDialogButtonApplyTextSpecifies text of button which apply changes in modal dialog  
Public PropertyModalDialogCaptionButtonUnsortSpecifies caption for unsort button in multiple sorting dialog  
Public PropertyModalDialogHeightSpecifies height of multiple sorting dialog  
Public PropertyModalDialogSortOnClickSpecifies whether sorting to be applied immediately when click sort/unsort columns in multiple sorting dialog. When it is false Apply button shows and sorting is applied when the button is clicked  
Public PropertyModalDialogWidthSpecifies width of multiple sorting dialog  
Public PropertyModesorting mode - single or multiple  
Public PropertyNameOverridden. Feature name  
Public PropertyPersistEnables / disables sorting persistence between states  
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertySortedColumnTooltipcustom tooltip format for a sorted column (using jQuery templating syntax). Usage: "sorted ${direction}"  
Public PropertySortingDialogContainmentControls containment behavior of multiple sorting dialog.  
Public PropertySortUrlKeySort URL key encoded in the GET request (when sorting is configured remotely)  
Public PropertySortUrlKeyAscValueascending value name in the URL params . ?sort(col1)=SortUrlKeyAscValue  
Public PropertySortUrlKeyDescValuedescending value name in the url params . Example ?sort(col1)=SortUrlKeyDescValue  
Public PropertyTypeoperation type - Local or Remote  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub