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

Binding to IsHiden

Hello, why does not it work binding to IsHiden column?

<syncfusion:GridTemplateColumn
        MappingName="Value"
        IsHidden="{Binding Path=Active}"
        Width="70">

2 Replies

IV Ivan April 10, 2015 08:51 AM UTC

this databinding element owned ItemsSource


SM Saravanan M Syncfusion Team April 10, 2015 11:50 AM UTC

Hi Ivan,

Thank you for contacting Syncfusion Support
We analyzed on our end, but we are unable to reproduce the reported issue. We are able to hide the column by binding the value for IsHidden property. We have prepared a sample with GridTemplateColumn and we are binding the Active property to IsHidden property from ViewModel and then GridTemplateColumn is hided. Please modify the sample based on your scenario and share the exact scenario with us. It would be helpful for us to resolve the issue. You can download the sample from following location:
Sample Location: SfDataGridHideColumn.zip
Please let us know if you require further assistance.
Regards,

Saravanan.M


Loader.
Live Chat Icon For mobile
Up arrow icon