You could make the menu item text gray by wrapping it inside a span element:
<span style="color:gray">Delete</span>
and set the javascript action to nothing:
void(0);
It could be helpful to create two menus (one with all the items active, one with disabled items) and switch as the context changes (using BeforeEventRender event handler).
Comment posted by Anonymous 18 years ago.
Hi,
please tell me where should i include that <SPAN> in my code
Comment posted by Balaji KN 18 years ago.
if i include <SPAN > inside DayPilot:DayPilotMenu > am getting error