<EjsGrid TValue="OrdersDetails" ID="Grid" ModelType="@Model" AllowSorting="true" ...>
<EjsDataManager AdaptorInstance="@typeof(CustomAdaptor)" Adaptor="Adaptors.CustomAdaptor"></EjsDataManager>
<GridPageSettings PageSize="8"></GridPageSettings>
<GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="@Syncfusion.EJ2.Blazor.Grids.EditMode.Dialog">
<Template>
@{
<div>
...
<div class="form-row">
...
<div class="form-group col-md-6">
@*OnInput="@(args => Order.Shipped = (bool)args.Value)"*@
@*<input type="checkbox" data-val="@(Order.Shipped)" id="Shipped" name="Shipped" value="@(Order.Shipped)">*@
<EjsCheckBox ID="Shipped" Name="Shipped" Checked="@(Order.Shipped)" Label="Shipped"></EjsCheckBox>
</div>
</div>
</div>
}
</Template>
</GridEditSettings>
...
</EjsGrid>
|
<EjsGrid TValue="OrdersDetails" ModelType="@Model" ... >
...
</EjsGrid>
|