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

Context menu only shows first letters of the word

3 Answers 202 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
mudi
Top achievements
Rank 1
Veteran
mudi asked on 01 May 2020, 04:39 AM

I'm trying to put a context menu on a treeview. Which is working.But when I use the same code to target another css class (targeting <a> tags it's only showing the first letters of each word)

 

 

 

3 Answers, 1 is accepted

Sort by
0
mudi
Top achievements
Rank 1
Veteran
answered on 01 May 2020, 04:45 AM

 

<div kendo-tree-view="tree"                                 
id="treeView"
k-template="treeViewTemplate"
k-options="treeViewOptions"                                  
k-data-source="dataSources"        
class="treeview drawBorders ">                                                             
</div>

0
Accepted
Ianko
Telerik team
answered on 05 May 2020, 04:44 AM

Hi Mudi,

The narrow context menu items come up due to the decoration of its target - the k-icon element. I can suggest you the following rendering: 

<a class="hiddenMoreButton"><span class='k-icon k-i-more-horizontal'></span></a>

Here you are a dojo example of the same: https://dojo.telerik.com/olESOXIw

Regards,
Ianko
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
mudi
Top achievements
Rank 1
Veteran
answered on 15 May 2020, 09:35 AM
Thank you
Tags
TreeView
Asked by
mudi
Top achievements
Rank 1
Veteran
Answers by
mudi
Top achievements
Rank 1
Veteran
Ianko
Telerik team
Share this question
or