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")]

public bool AutoFit {get; set;}
[DefaultValue(false)]
[HtmlAttributeName("autoFit")]

public:
property bool AutoFit {
   bool get();
   void set (    bool value);
}
AssemblyVersion

Syncfusion.EJ2: 18.2500.0.44

See Also