when setting GridColumn MinWidth="150px", it throws the error "System.FormatException: Input string was not in a correct format.". How to fix it?

Answer:

We suggest you to define the MinWidth property of the GridColumn without the px. (i.e.) MinWidth="150" to resolve the reported problem. Please refer and use as like the below code example.


<GridColumn Field=@nameof(SigningRequestAttachment.Name) HeaderText="Ime" MinWidth="150">GridColumn>

Reference : https://blazor.syncfusion.com/documentation/datagrid/columns/#min-and-max-width


Loader.
Up arrow icon