Hi dhileep,
Are you showing the file format in datagrid....
On Thu, Jan 15, 2009 at 5:25 PM, dhileepen chakravarthy <[email protected]
> wrote:
> Dear All,
>
> I did a context menu for datagrid. Menus are working.
>
> My issue is in my datagrid rtf files and .wav files in datagrid list.
>
> If the file is rtf then open is enable. If the file is wav then play is
> enble. How to make enable disable depends upon the filename extension.
>
> var cmi:ContextMenuItem = new ContextMenuItem("Open...", true, true);
> //for enable
> var cmi:ContextMenuItem = new ContextMenuItem("Open...", true, false);
> //for disable
>
> I dnt know how do i use at runtime.
>
> Thanks in advance
> Dhileepen
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---