How to make select full row not trxt only
Best regards
As I replied in the other thread this is not possible. Please do not post duplicate questions.
More thanks for your help
Hi!
I found this thread about RadzenTree.
This is the code for my tree. How can I set FOCUS on the selected item so that the user (if they've been working on other components on the page and lost focus from the tree) can move between items in the tree with arrowdown and arrowup, thus restoring focus to the selected tree/item?
<RadzenTree @ref="tanksTree"
Data="@lstInventoryTankSearch"
@bind-Value="@objSelectedTanksTree"
Change="@OnTreeViewTankSelectedFromSidebar"
Visible="!switchListType"
Style="width: 100%; scrollbar-width: none;" class="inventory-tree">
<!-- Primo livello: gruppi -->
<RadzenTreeLevel TextProperty="TankGroup" ChildrenProperty="Tanks"
Expanded="@((group) => lstInventoryTankSearch.IndexOf((TankGroupResult)group) == 0 || openSearchTankOrProductAccordion)">
<Template>
<span class="@(((context.Value as TankGroupResult).Tanks?.Any(t => t.IsEdited) ?? false) ? "tank-status-modified" : null)">
@((context.Value as TankGroupResult).TankGroup?.Replace("_", " ") ?? "")
</span>
</Template>
</RadzenTreeLevel>
<!-- Secondo livello: serbatoi -->
<RadzenTreeLevel TextProperty="TankName" HasChildren="@(tank => false)">
<Template>
<span id="tank-node-@((context.Value as ResultTankForEachGroup).TankID)"
class="hover-hand @((context.Value as ResultTankForEachGroup)?.IsEdited == true ? "tank-status-modified" : GetCssClassNameFromTankStatus((context.Value as ResultTankForEachGroup)?.TankStatus))">
@((context.Value as ResultTankForEachGroup).TankName ?? "")
</span>
</Template>
</RadzenTreeLevel>
</RadzenTree>