Intersoft WebGrid Documentation
AutomaticSort Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridTable Class : AutomaticSort Property






Specifies whether or not to allow WebGrid automatically handle sorting operation.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Specifies whether or not to allow WebGrid automatically handle sorting operation.")>
Public Property AutomaticSort As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGridTable
Dim value As Boolean
 
instance.AutomaticSort = value
 
value = instance.AutomaticSort
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies whether or not to allow WebGrid automatically handle sorting operation.")]
public bool AutomaticSort {get; set;}
Delphi 
public read-write property AutomaticSort: Boolean; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
NotifyParentPropertyAttribute()
DescriptionAttribute("Specifies whether or not to allow WebGrid automatically handle sorting operation.")
public function get,set AutomaticSort : boolean
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies whether or not to allow WebGrid automatically handle sorting operation.")]
public: __property bool get_AutomaticSort();
public: __property void set_AutomaticSort( 
   bool value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies whether or not to allow WebGrid automatically handle sorting operation.")]
public:
property bool AutomaticSort {
   bool get();
   void set (    bool value);
}

Remarks

By default, WebGrid handles all sorting operation automatically. That means developers don't required to write additional programmatic codes for the sorting operation and hence can focus more on core business logic.

For greater level of customization, developers can choose to turn off AutomaticSort and write their own codes to handle sorting operation through CustomSort event.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.