This project is read-only.

Localize the Filter-Button Tooltip Text "Filter this column"

Sep 2, 2015 at 2:22 PM
Dear all,

could you tell me, how I'm able to localize the text of the filter-button tooltip?
I've localized everything, but this tooltip is left :-(.

Kind regards
Jan 6, 2016 at 8:30 PM
Synthie, could you detail out a little more what exactly you are trying to do?
Feb 12, 2017 at 9:29 PM
Edited Feb 12, 2017 at 9:39 PM
If you are looking to modify this text, there is a way with javascript to do this.

Add a "id" in a first "div" how this, "mygrid":
<div id="mygrid" style="width: 100%;">
@if (Model.Count() > 0)
    @Html.Grid(Model).Columns(columns =>
   columns.Add(c => c..........
After this create a javascript in the final of code:
<script type="text/javascript"> 
document.getElementById("mygrid").getElementsByTagName("div")[2] .getElementsByTagName("span")[0].setAttribute("title", "THE NEW TEXT "); 
The number [2] and the number [0] in this javascript may depend on how you put the columns on your grid... This numbers represents de position of this div in the div called mygrid!

To know this, you can create a js like this and count how many divs appear, look:
<script type="text/javascript">