In the modules folder there are javascript files for languages except for the English text that the igGrid uses. What is the recommendation for modifying shipped text with the control? For example we want to change it to match the Sentence casing that our application uses. Since some of the text is wrapped in a span that is not easy to do with css so I was going to modify the files directly but they do not exist for English.
That will work. Thanks!
Hello Tammy,
You can change the text by editting the emptyGroupByAreaContentSelectColumns property to the desired text. You can read on it here: http://help.infragistics.com/jQuery/2015.2/ui.iggridgroupby#options:emptyGroupByAreaContentSelectColumns
In your case, your grid instantiation would contain these fields:
emptyGroupByAreaContent: "{0}",emptyGroupByAreaContentSelectColumns: "Linked text",
I'm attaching a sample with the desired behavior.
Let me know if I can be of further assistance.
Yes I know that. The reason I Need to change the text is because I need it to say Select columns with sentence casing. You can't easily do sentence casing with css on this. Is this text hardcoded somewhere that I can't replace it?
You can add the select columns link by adding a {0} to the emptyGroupByAreaContent string. You can see this being done within the core.js file.
So your option would look like this:
emptyGroupByAreaContent: "{0} to Group By",
I am attaching a sample that you can use to observe this behavior.
That won't work for us. When you do that it is not a clickable link anymore to open the column chooser. We have touch devices so you can't drag and drop yet.