* - Update NuGet packages
- Add net9.0
* Update SDK
* Fix build-core-lib
* Update version and change workflows
* Move BCL package so right version cn be used
* Process review comments in all GH workflows
* Try to go back to .NET 8 for ReportGenerator
* Trying to fix ReportGenerator
* Store progress
* Use records for string parameter collections
* Tabbing error 🤦♂️
* Move and change column 'label resources' records
* Process PR review comments
* Add resize buttons aria labels
* Use a record to group resize aria labels. ResizeLabel has been removedand can now be set throught the record as well
* Adjust example to new 2024 dataset
* [FluentDatePicker] Added OnDoubleClick event and DoubleClickToToday parameter.
* [DatePicker] DoubleClickToToday was changed to DoubleClickToDate. Added test for OnDoubleClick event.
* Fix#2542 by not including Instance.ontent in hash code method.
* Fix issue by adding Visible to DialogParameters. Dialog Hide/Show methods will now set Visible value. Provider will only render dialog if Visible is true.
* Add AutoFit feature to FluentDataGrid component
Introduced the AutoFit property to the FluentDataGrid component, enabling columns to auto-fit the grid width using JavaScript. Updated XML documentation and added a new demo section in DataGridPage.razor to showcase this feature. Created DataGridAutoFit.razor component for demonstration purposes.
Modified FluentDataGrid.razor and FluentDataGrid.razor.cs to implement AutoFit functionality, including invoking a JavaScript function to adjust column widths. Simplified SortByColumnAsync methods using ternary operators.
Updated CSS in FluentDataGrid.razor.css and FluentDataGridCell.razor.css to support AutoFit, ensuring proper styling and visibility of grid cells. Added autoFitGridColumns JavaScript function in FluentDataGrid.razor.js. Removed redundant CSS rules and adjusted formatting for consistency.
* Provide better comment for the AutoFit feature and fix merge conflict artifacts.
* Add AutoFit parameter to FluentDataGrid component
Updated DataGridPage.razor to correct a typo and provide additional information about the AutoFit parameter. Removed GridTemplateColumns="auto-fit" from DataGridAutoFit.razor as it is now handled internally. Modified OnParametersSetAsync and OnAfterRenderAsync in FluentDataGrid.razor.cs to support AutoFit. Improved autoFitGridColumns function in FluentDataGrid.razor.js.
* Place `Parameter` attribute on separate line for `AutoFit`. Also fixed the `Parameter` attribute for `LoadingContent`.
---------
Co-authored-by: Kevin Becker <kevin.becker@senioroi.com>
Co-authored-by: Denis Voituron <dvoituron@outlook.com>
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
* use "with" instead of "assert" because of an eslint issue
* Added "TotalViewItemCount" to fix pagination for the ItemsProvider where the total amount can be different from the amount that you want to show
* Fixed unit test by restoring wrong used property on aria-rowcount
---------
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
* Improve data refresh logic in FluentDataGrid
This commit enhances the OnParametersSetAsync method in FluentDataGrid to
better handle state changes:
- Updated mustRefreshData calculation to consider pagination state changes
- Moved _lastRefreshedPaginationStateHash update earlier in RefreshDataCoreAsync
These changes ensure that:
1. The grid correctly detects when a refresh is needed due to pagination changes
2. The pagination state hash is captured at the start of the refresh process
This improvement helps maintain data consistency, especially in scenarios
with rapid state changes or when other events trigger state updates.
* Fix Grid data source change detection to avoid boxing
- Replace object casting and reference comparison with direct Equals method calls
- Separately compare Items and ItemsProvider with their last assigned values
- Eliminate false positive change detections caused by boxing
- Improve performance by reducing unnecessary data refreshes
* Don't use GetHashCode for comparison. TotalCount should NOT be a part of the comparison. As this is an output not an input.
* use _lastRefreshedPaginationState instead of _lastRefreshedPaginationStateHash
* Remove blank line
---------
Co-authored-by: Denis Voituron <dvoituron@outlook.com>
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>