From 535f0e868407e0c0874fad61d9518d67d60f8bcd Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Tue, 24 Dec 2024 13:56:18 +0100 Subject: [PATCH] Hotfix for DataGrid docs --- .../Demo/Shared/Pages/DataGrid/DataGridPage.razor | 4 ++++ examples/Demo/Shared/wwwroot/docs/UpgradeGuide.md | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/examples/Demo/Shared/Pages/DataGrid/DataGridPage.razor b/examples/Demo/Shared/Pages/DataGrid/DataGridPage.razor index 15b72fd990..e4a80b0143 100644 --- a/examples/Demo/Shared/Pages/DataGrid/DataGridPage.razor +++ b/examples/Demo/Shared/Pages/DataGrid/DataGridPage.razor @@ -22,6 +22,10 @@
  • The parameter ResizeLabel has been removed in favor of 3 new parameters. This makes changing strings in the DataGrid UI easier. See Change strings used in the UI for more information.
  • +
  • It is currently not possible to use the OnRowFocus and OnCellFocus event callbacks. You can use the OnRowClick, OnRowDoubleClick and OnCellClick alternatives. + + As of v4.11.1 the OnCellFocus event callback will be operational again. For OnRowFocus, we are waiting for the necessary support being added by the different browsers. See https://chromestatus.com/feature/6237396851228672 for more information. +
  • diff --git a/examples/Demo/Shared/wwwroot/docs/UpgradeGuide.md b/examples/Demo/Shared/wwwroot/docs/UpgradeGuide.md index 9354bdc766..72aeb63558 100644 --- a/examples/Demo/Shared/wwwroot/docs/UpgradeGuide.md +++ b/examples/Demo/Shared/wwwroot/docs/UpgradeGuide.md @@ -1,5 +1,6 @@ ## Breaking changes v4.11.0 +### Icons and Emoji As of version 4.11.0 of our Icons and Emoji packages, we are packaging each icon variant (filled, outlined, regular, etc.) and emoji category (animals, food, etc.) in its own assembly. This became necessary due to the large number of icons and some compiler limitations. Nothing has changed on how the packages need to be installed or added to your project. @@ -16,7 +17,15 @@ To use the new versions in your (upgraded) projects, you need add the following Alternatively, you can use the full namespace(s) in your code or define the alias(es) for the namespace(s) at the top of your file(s). When creating an application through one of the Fluent templates (v4.11.0 or higher), everything with regards to the icons will already be correctly set up for you. -The templates do not use emoji so you'll need to make the necessary change yourself after addin the Emoji package. +The templates do not use emoji so you'll need to make the necessary change yourself after adding the Emoji package. + +### DataGrid +The `DataGrid` **now uses HTML table based rendering**. A lot of changes have been made to the structure of the rendered content and the class names used. +If you have been overriding grid classes, these probably no longer work and need to be changed in your own code. For more information, please see the DataGrid documentation page. + +Because of the change in rendering it is currently not possible to use the `OnRowFocus` and `OnCellFocus` event callbacks. You can use the `OnRowClick`, `OnRowDoubleClick` and `OnCellClick` alternatives. + +As of v4.11.1 the `OnCellFocus` event callback will be operational again. For `OnRowFocus`, we are waiting for the necessary support being added by the different browsers. See https://chromestatus.com/feature/6237396851228672 for more information.