diff --git a/Source/Extensions/Blazorise.DataGrid/BaseDataGridColumn.cs b/Source/Extensions/Blazorise.DataGrid/BaseDataGridColumn.cs index 5f3704ac0a..cc2a708d32 100644 --- a/Source/Extensions/Blazorise.DataGrid/BaseDataGridColumn.cs +++ b/Source/Extensions/Blazorise.DataGrid/BaseDataGridColumn.cs @@ -45,6 +45,9 @@ public string FormatDisplayValue( object value ) /// [Parameter] public IFormatProvider DisplayFormatProvider { get; set; } + /// + /// Specifies the content to be rendered inside this . + /// [Parameter] public RenderFragment ChildContent { get; set; } /// diff --git a/Source/Extensions/Blazorise.DataGrid/DataGridAggregate.cs b/Source/Extensions/Blazorise.DataGrid/DataGridAggregate.cs index 189be35f2f..2b306b848d 100644 --- a/Source/Extensions/Blazorise.DataGrid/DataGridAggregate.cs +++ b/Source/Extensions/Blazorise.DataGrid/DataGridAggregate.cs @@ -247,6 +247,9 @@ public DataGridAggregateType Aggregate /// [Parameter] public IFormatProvider DisplayFormatProvider { get; set; } + /// + /// Specifies the content to be rendered inside this . + /// [Parameter] public RenderFragment ChildContent { get; set; } /// diff --git a/Source/Extensions/Blazorise.DataGrid/DataGridColumn.cs b/Source/Extensions/Blazorise.DataGrid/DataGridColumn.cs index 8ff5f39906..525f6f405b 100644 --- a/Source/Extensions/Blazorise.DataGrid/DataGridColumn.cs +++ b/Source/Extensions/Blazorise.DataGrid/DataGridColumn.cs @@ -181,6 +181,10 @@ private void DisposeSubscriptions() } } + /// + /// Handles the filter value change. This method is intended for internal framework use only and should not be called directly by user code. + /// + /// The new filter value. public async void OnSearchValueChanged( object filterValue ) { await ParentDataGrid.OnFilterChanged( this, filterValue ); @@ -255,11 +259,24 @@ internal string GetFieldToSort() internal Func GetGroupByFunc() => GroupBy is not null ? GroupBy : valueGetter.Value; + /// + /// Gets the formatted display value. This method is intended for internal framework use only and should not be called directly by user code. + /// + /// Item the contains the value to format. + /// + /// Formatted display value. + /// public string FormatDisplayValue( TItem item ) { return FormatDisplayValue( GetValue( item ) ); } + /// + /// Indicates whether the cell values are editable. + /// + /// + /// A value indicating whether the cell values are editable. + /// public bool CellValuesAreEditable() { return Editable && diff --git a/Source/Extensions/Blazorise.DataGrid/_DataGridCancelBatchCommand.razor.cs b/Source/Extensions/Blazorise.DataGrid/_DataGridCancelBatchCommand.razor.cs index 6a51ab39c3..49fdb01bbf 100644 --- a/Source/Extensions/Blazorise.DataGrid/_DataGridCancelBatchCommand.razor.cs +++ b/Source/Extensions/Blazorise.DataGrid/_DataGridCancelBatchCommand.razor.cs @@ -34,5 +34,8 @@ private async void OnLocalizationChanged( object sender, EventArgs e ) /// [CascadingParameter] public DataGrid ParentDataGrid { get; set; } + /// + /// An event raised when the batch editing is canceled. + /// [Parameter] public EventCallback CancelBatch { get; set; } } \ No newline at end of file