Skip to content

Commit 2b7f531

Browse files
authored
Ensure all grid columns show tooltips (#9401)
1 parent 9353f7e commit 2b7f531

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Aspire.Dashboard/Components/Controls/Grid/AspirePropertyColumn.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public class AspirePropertyColumn<TGridItem, TProp> : PropertyColumn<TGridItem,
1414
[Parameter]
1515
public string? ColumnId { get; set; }
1616

17+
protected override void OnInitialized()
18+
{
19+
Tooltip = true;
20+
}
21+
1722
protected override bool ShouldRender()
1823
{
1924
if (ColumnManager is not null && ColumnId is not null && !ColumnManager.IsColumnVisible(ColumnId))

src/Aspire.Dashboard/Components/Controls/Grid/AspireTemplateColumn.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public class AspireTemplateColumn<TGridItem> : TemplateColumn<TGridItem>, IAspir
1414
[Parameter]
1515
public string? ColumnId { get; set; }
1616

17+
protected override void OnInitialized()
18+
{
19+
Tooltip = true;
20+
}
21+
1722
protected override bool ShouldRender()
1823
{
1924
if (ColumnManager is not null && ColumnId is not null && !ColumnManager.IsColumnVisible(ColumnId))

0 commit comments

Comments
 (0)