[PR #386] [CLOSED] Updated the behavior of is checked to correctly evaluate the bottom l… #2161

Open
opened 2026-01-29 18:17:31 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/386
Author: @grwomack
Created: 2/25/2022
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • a243cc6 Updated the behavior of is checked to correctly evaluate the bottom layer if the Tree component

📊 Changes

3 files changed (+312 additions, -16 deletions)

View changed files

📝 Radzen.Blazor/RadzenTree.razor.cs (+73 -0)
📝 Radzen.Blazor/RadzenTreeItem.razor.cs (+95 -6)
📝 RadzenBlazorDemos/Pages/TreeCheckBoxesPage.razor (+144 -10)

📄 Description

Hi Everyone,

I updated the behavior of the RadzenTree and TreeItem when the user chooess to display them as checkboxes.

I added a new property to RadenTree:
[Parameter] public string ChildrenPropertiesChain { get; set; } = string.Empty

If the user adds the chain of children as a string, the checkboxes will maintain the correct IsChcecked state.

I created an example on the https://blazor.radzen.com/tree-checkboxes page.

Best,
Garrett


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/386 **Author:** [@grwomack](https://github.com/grwomack) **Created:** 2/25/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`a243cc6`](https://github.com/radzenhq/radzen-blazor/commit/a243cc6dc1a83f41866ece7d2b4fe8789e8820d6) Updated the behavior of is checked to correctly evaluate the bottom layer if the Tree component ### 📊 Changes **3 files changed** (+312 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenTree.razor.cs` (+73 -0) 📝 `Radzen.Blazor/RadzenTreeItem.razor.cs` (+95 -6) 📝 `RadzenBlazorDemos/Pages/TreeCheckBoxesPage.razor` (+144 -10) </details> ### 📄 Description Hi Everyone, I updated the behavior of the RadzenTree and TreeItem when the user chooess to display them as checkboxes. I added a new property to RadenTree: [Parameter] public string ChildrenPropertiesChain { get; set; } = string.Empty If the user adds the chain of children as a string, the checkboxes will maintain the correct IsChcecked state. I created an example on the https://blazor.radzen.com/tree-checkboxes page. Best, Garrett --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:17:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2161