Syncfusion.SfDataGrid.iOS
Example 
Syncfusion.SfDataGrid Namespace > SfDataGrid Class : DefaultColumnWidth Property

DefaultColumnWidth Property (SfDataGrid)

Gets or sets the default column width of the SfDataGrid. GridColumn renders in view based on the value of DefaultColumnWidth property in SfDataGrid.
Syntax
[Foundation.Export(Selector="DefaultColumnWidth", 
   ArgumentSemantic=ArgumentSemantic.None | 
    ArgumentSemantic.Copy | 
    ArgumentSemantic.Retain | 
    ArgumentSemantic.Weak | 
    ArgumentSemantic.Strong, 
   IsVariadic=false)]
[Browsable(true)]
public double DefaultColumnWidth {get; set;}

Property Value

The default column width of the SfDataGrid. The default value is 106.
Remarks
SfDataGrid allows you to customize the default column width property based on the requirement by setting the DefaultColumnWidth property. Columns are arranged in view based on the DefaultColumnWidth property when the ColumnSizer is ColumnSizer.None.
Example
dataGrid.DefaultColumnWidth = 90;
AssemblyVersion

Syncfusion.SfDataGrid.iOS: 17.3451.0.14

See Also