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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column template not working on Firefox/Edge for treeColumnIndex column

Thread ID:

Created:

Updated:

Platform:

Replies:

146945 Aug 26,2019 02:49 PM UTC Aug 29,2019 09:25 AM UTC Vue 3
loading
Tags: TreeGrid
Viktor Kukurudziak
Asked On August 26, 2019 02:49 PM UTC

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

Farveen Sulthana Thameeztheen Basha [Syncfusion]
Replied On 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 


Viktor Kukurudziak
Replied On 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.



Manivannan Padmanaban [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon