Syncfusion.EJ2

AutoFit Property

If `autoFit` set to true, then the particular column content width will be adjusted based on its content in the initial rendering itself. Setting this property as true is equivalent to calling `autoFitColumns` method in the `dataBound` event.
Syntax
[DefaultValue(false)]
[HtmlAttributeName("autoFit")]
[Newtonsoft.Json.JsonProperty("autoFit")]
public bool AutoFit {get; set;}
[DefaultValue(false)]
[HtmlAttributeName("autoFit")]
[Newtonsoft.Json.JsonProperty("autoFit")]
public:
property bool AutoFit {
   bool get();
   void set (    bool value);
}
AssemblyVersion

Syncfusion.EJ2: 17.3500.0.26

See Also