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
close icon

How do you hide a separator BarItem in the context menu

I've got a context menu in a grid where I want to conditionally display the items.  The menu is partially generated at runtime, and I can't just rebuild it when needed.  I created a separator BarItem like so:

   separatorItem = new BarItem("-");

In order to hide the item from the menu, I tried setting separatorItem.Visible to false, but the item still shows.


1 Reply

RB Ragamathulla B Syncfusion Team May 10, 2012 10:46 AM UTC

Hi Bryen,

Thank you for your interest in syncfusion products.

Am afraid that am unable to reproduce your reported issue. So we request you to send us the reproducing sample so that we could sort out the cause of the issue and provide you a solution?

Let me know if you have any further concerns.

Regards,

Ragamathullah B.


Loader.
Live Chat Icon For mobile
Up arrow icon