<link rel='nofollow' href="https://cdn.syncfusion.com/ej2/17.3.19/fabric.css" rel="stylesheet" />
<script src="https://cdn.syncfusion.com/ej2/17.3.19/dist/ej2.min.js"></script> |
Hi Nick,Greetings from Syncfusion support.Query: “When the Client project is set to .Net Standard 2.0, the code does not compile. && When set to .Net Standard 2.1, the code CAN compile, but the IDE is not happy of it - showing messages”As per your suggestion we have prepared a Client Side Blazor application using the code example provided in the documentation. We are not able to reproduce the reported issue at our end. Kindly download the sample which we have prepared using .Net Core 3.1 Preview 1 and Syncfusion latest Nuget package (17.3.0.19-beta) from below.Kindly ensure that you have referred same version of script files and Nuget Package.
<link rel='nofollow' href="https://cdn.syncfusion.com/ej2/17.3.19/fabric.css" rel="stylesheet" /><script src="https://cdn.syncfusion.com/ej2/17.3.19/dist/ej2.min.js"></script>After referring the sample, If you are still facing the issue kindly get back to us with following details.
- Share the screenshot of script error with full stack trace.
- Share your Syncfusion package version.
- If possible try to reproduce the reported issue in provided sample or share the issue reproducible sample.
Regards,Vignesh Natarajan.
<EjsGrid DataSource="@OrderData" Toolbar=@ToolbarItems>
<GridEditSettings AllowEditing="true" AllowAdding="true" AllowDeleting="true"></GridEditSettings>
<GridColumns>
...
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" EditType="EditType.NumericEdit" Edit="@(new { @params = new { decimals = 3, value = 4 } })" TextAlign="TextAlign.Center" Width="130"></GridColumn>
...
</GridColumns>
</EjsGrid>
|
<EjsGrid DataSource="@OrderData" Toolbar=@ToolbarItems>
<GridEditSettings AllowEditing="true" AllowAdding="true" AllowDeleting="true"></GridEditSettings>
<GridColumns>
...
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" EditType="EditType.NumericEdit" Edit="@FreightEditParams" TextAlign="TextAlign.Center" Width="130"></GridColumn>
...
</GridColumns>
</EjsGrid>
@code{
public string[] ToolbarItems = new string[] { "Add", "Edit", "Delete", "Update", "Cancel" };
public object FreightEditParams = new
{
@@params = new EjsNumericTextBox<int>() { Decimals = 3, Value = 4 }
};
...
...
} |