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

Missing border between columns

Hi,

There is no border between drag and drop column and id column.
syncfusion/ej2-vue-gantt: 17.4.41
style: bootstrap4


Best regards,
Tomasz Tomczykiewicz

3 Replies

JA Jesus Arockia Sankaran S Syncfusion Team January 13, 2020 01:11 PM UTC

Hi Tomasz, 
 
Thanks for contacting Syncfusion support.  
 
This is the default behavior in treegrid. However, you can remove the border between drag and drop column and id column in header, by using headercellInfo event. Please find following code snippet. 

headerCellInfo: function(args: any) 
{ 
    if (args.cell.column.field === 'TaskID') 
    { 
        args.node.style.borderLeftWidth = '0px'; 
    } 
} 

We have provided sample on this for your reference. 


Please let us know, if you need further details on this. 
 
Regards, 
Jesus Arockia Sankaran S 



TT Tomasz Tomczykiewicz January 13, 2020 01:34 PM UTC

Hi,

Current behaviour: there is no border between the first and second row.

Expected behaviour: there is a border between the first and second row.



Best regards,
Tomasz Tomczykiewicz


JA Jesus Arockia Sankaran S Syncfusion Team January 14, 2020 11:28 AM UTC

Hi Tomasz, 
 
Sorry for the inconvenience.  
 
At present, this the default UI of drag and drop field in Tree Grid. Using queryCellInfo event, we can customize the border of Tree Grid drag and drop field for your requirement.  
 
Please find following code snippet below: 
 
queryCellInfo: function (args: any) { 
   if (args.column.field === 'TaskID') { 
      args.cell.style.borderLeftWidth = '1px'; 
   } 
} 
 
We have also prepared the sample for your reference 
 
Please let us know, if you need further details on this. 

Regards, 
Jesus Arockia Sankaran S 


Loader.
Live Chat Icon For mobile
Up arrow icon