diff --git a/Source/Extensions/Blazorise.DataGrid/_DataGridCellSelectEdit.razor.cs b/Source/Extensions/Blazorise.DataGrid/_DataGridCellSelectEdit.razor.cs index e4ab7780c7..33c45ad855 100644 --- a/Source/Extensions/Blazorise.DataGrid/_DataGridCellSelectEdit.razor.cs +++ b/Source/Extensions/Blazorise.DataGrid/_DataGridCellSelectEdit.razor.cs @@ -1,11 +1,11 @@ #region Using directives -using System.Collections.Generic; + using System; using System.Linq; using System.Threading.Tasks; using Blazorise.Modules; using Microsoft.AspNetCore.Components; -using Blazorise.Extensions; + #endregion namespace Blazorise.DataGrid; @@ -25,6 +25,7 @@ private class SelectItem public string Text { get; private set; } public object Value { get; private set; } public bool Disabled { get; private set; } + public SelectItem( string text, object value, bool disabled ) { Text = text; @@ -98,7 +99,6 @@ protected override async Task OnAfterRenderAsync( bool firstRender ) { await Focus(); } - } } await base.OnAfterRenderAsync( firstRender ); @@ -121,6 +121,7 @@ public async Task Select() [CascadingParameter] public DataGrid ParentDataGrid { get; set; } [Inject] public IIdGenerator IdGenerator { get; set; } + /// /// Gets or sets the instance. ///