We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Column template not working on Firefox/Edge for treeColumnIndex column

Hi,
I'm using columns template for tree index column in TreeGrid.
In Firefox/Edge my column template is not visible, only 3 dots are shown.
In Chrome  it works as expected.
Here is example screen.
You can find more details in attached project



Attachment: treegridtest_10834cb0.zip

3 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team August 27, 2019 01:20 PM UTC

Hi Viktor, 

Thanks for contacting Syncfusion Support. 

We can reproduce your reported problem at our end on FireFox/Edge. While using treeColumnIndex we have rendered the TreeGrid elements inside the span Tag. In your provided sample you have define the Template inside the span element. So the reported problem occurs. When we define the span element inside another span causes problem and it is not standard way of defining the template.  

We have modified the template by defining it inside the div. So we recommend you to use the below way.  

Nametemplate.vue 
<template> 
    <div>{{ data.taskName }}</div> 
</template> 

<script> 
    export default { 
        data: function() { 
            return { 
                data: {} 
            }; 
        }, 
   
</script> 

Please get back to us if you need any further assistance. 

Regards, 
Farveen sulthana T 



VK Viktor Kukurudziak August 28, 2019 10:18 AM UTC

Hi,
I check you solution and it's not working as i expected.
Unfortunately it will move text to next line and break the layout.




MP Manivannan Padmanaban Syncfusion Team August 29, 2019 09:25 AM UTC

Hi Viktor,  

Sorry for the inconvenience caused. 

Query: it will move text to next line and break the layout. 

To avoid the reported issue we suggest you to set the display style as inline. Refer the below code example, 

<template> 
         <div style="display:inline;">{{ data.taskName }}</div>  
</template> 



Output: 
 

Regards, 
Manivannan Padmanaban. 


Loader.
Live Chat Icon For mobile
Up arrow icon