This is a migrated thread and some comments may be shown as answers.

GridBuilder Change arrow icon to '+'

3 Answers 229 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 12 May 2016, 11:39 PM
Hello. I have a standard Kendo Grid using GridBuilder. Currently, you expand a record with the arrow icon.  Is it possible to switch this to a '+' sign?

3 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 13 May 2016, 06:04 AM
Hi Scott,

To achieve this you should change the defaults icons with custom ones. The following CSS rules should help:
.k-grid .k-hierarchy-cell .k-minus {
    background-image: url('/* ... */');
    background-position: 0 0;
}
 
.k-grid .k-hierarchy-cell .k-plus {
    background-image: url('/* ... */');
    background-position: 0 0;
}

Regards,
Iliana Nikolova
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 13 May 2016, 11:27 PM
That did the trick, thanks! 
0
Stefan Timm
Top achievements
Rank 2
answered on 18 Oct 2016, 11:41 AM

That's not working anymore. Try this:

.k-grid .k-hierarchy-cell .k-i-collapse {
 
    background-image: url('../Images/minus.png');
    background-position: 0 0;
}
 
  
.k-grid .k-hierarchy-cell .k-i-expand {
 
    background-image: url('../Images/plus.png');
    background-position: 0 0;
 
}
Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Scott
Top achievements
Rank 1
Stefan Timm
Top achievements
Rank 2
Share this question
or