Syncfusion.EJ2

Syncfusion.EJ2.Grids Namespace > Grid Class : AllowSorting Property

AllowSorting Property (Grid)

If `allowSorting` is set to true, it allows sorting of grid records when column header is clicked.
Syntax
[DefaultValue()]
[HtmlAttributeName("allowSorting")]
[Newtonsoft.Json.JsonProperty("allowSorting")]
public bool AllowSorting {get; set;}
[DefaultValue()]
[HtmlAttributeName("allowSorting")]
[Newtonsoft.Json.JsonProperty("allowSorting")]
public:
property bool AllowSorting {
   bool get();
   void set (    bool value);
}
AssemblyVersion

Syncfusion.EJ2: 17.2.0.46

See Also