You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tilelayout/AddRemoveTiles/readme.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ This example project demonstrates a simple customizable dashboard which uses Til
4
4
5
5
The layout of the index page uses TelerikSplitter to divide the main data section and a side pane that displays the available data tiles that can be added to the dashboard.
6
6
7
-
The content for the tiles is defined as separate components in the Components/Tiles folder. `TileContentFactory.razor` is handling for the conditional rendering of the content in the tiles based on the information retrieved from the `TilesDataService.cs`.
7
+
The content for the tiles is defined as separate components in the Components/Tiles folder. `TileContentFactory.razor` is handling the conditional rendering of the content in the tiles based on the information retrieved from the `TilesDataService.cs`.
8
8
9
-
At the time of writing a `Visible` parameter is not included in the TileLayout state. Therefore the component uses a bool field `Visible` in the tiles model to handle the conditional rendering of the tiles depending on its value. With that being said, as the tiles collection reference changes in the process, the component state cannot maintain data for the removed items and thus when they are re-added, they appear at the last position.
9
+
At the time of writing a `Visible` parameter is not included in the TileLayout state. Therefore, the component uses a bool field `Visible` in the tiles model to handle the conditional rendering of the tiles depending on its value. With that being said, as the tiles collection reference changes in the process, the component state cannot maintain the data for the removed items and thus when they are re-added, they appear at the last position.
10
10
11
11
A configuration of adding and removing tiles whilst keeping their initial position through the state will be possible once this feature request in the public portal is available - [Command buttons in the tile header that work with draggable and provide built-in close and minimize](https://feedback.telerik.com/blazor/1506097-command-buttons-in-the-tile-header-that-work-with-draggable-and-provide-built-in-close-and-minimize).
0 commit comments