Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fixed bad merge
Browse files Browse the repository at this point in the history
change column visibility plus to link
  • Loading branch information
IvanJosipovic committed Nov 26, 2020
1 parent 4869731 commit 210a7ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/BlazorTable/Components/Table.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<th colspan="@columnCount">
@if (ShowSearchBar)
{
<th colspan="@columnCount"><input type="text" class="form-control form-control-sm float-right" style="width:33%" value="@GlobalSearch" @onchange="@(x => { GlobalSearch = x.Value.ToString(); Update(); })" placeholder="@Localization["GlobalSearch"]" /></th>
<input type="text" class="form-control form-control-sm float-right ml-3" style="width:33%" value="@GlobalSearch" @onchange="@(x => { GlobalSearch = x.Value.ToString(); Update(); })" placeholder="@Localization["GlobalSearch"]" />
}
@if (Columns.Exists(column => !column.Visible))
{
Expand All @@ -38,9 +38,11 @@
</td>
<td>
<div class="float-right" @onclick="@(_ => { column.Visible = true; if (!Columns.Exists(column => !column.Visible)) VisibilityMenuOpen = false;})">
<span aria-hidden="true">
<img src="_content/BlazorTable/images/plus.png" />
</span>
<a href="javascript:;">
<span aria-hidden="true">
<img src="_content/BlazorTable/images/plus.png" />
</span>
</a>
</div>
</td>
</tr>
Expand Down

0 comments on commit 210a7ee

Please sign in to comment.