Hiding multiple columns

Hello,

I've a grid which contains freezed columns, if i try to hide multiple column in the grid the css breaks.

This works perfectly fine if the grid does not have any freezed columns.

Please check, I was able to replicate it in the below sample

https://plnkr.co/edit/tIol6vTzMyoJJLk558Fz?p=preview

1 Reply

MF Mohammed Farook J Syncfusion Team April 26, 2018 12:25 PM UTC

Hi Manu, 

Thanks for Contacting Syncfusion Supports. 

We have validated the provided sample and please use the following code example for hiding the multiple grid columns.  


public onClicked(e: MouseEvent): void { 
    let test = ['Order ID', 'Customer Name', 'Freight', 'Ship Country', 'Order Date', 'Shipped Date'] 
        this.grid.hideColumns(test); 
  } 


Please find the sample and documentation for your reference . 


Documentation : 

 

Regards, 
J.Mohammed Farook 


Loader.
Up arrow icon