davorian / flexible-chimp

Automatically exported from code.google.com/p/flexible-chimp
0 stars 0 forks source link

Chimp doesn't work with DataGrid columns #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I assigned an "id" to a column in a datagrid and attempted to set it to
invisible with Chimp.  Nothing happens.... :-(

Original issue reported on code.google.com by erikwick...@gmail.com on 14 Aug 2009 at 3:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
DataGrid Column is not a UI Component, Chimp works only for UI Components... :)

Original comment by mandarap...@gmail.com on 12 Jan 2010 at 3:58

GoogleCodeExporter commented 9 years ago
That doesn't make it right... ;-)

Original comment by erikwick...@gmail.com on 12 Jan 2010 at 6:13

GoogleCodeExporter commented 9 years ago
Is it working for only a direct extension from UIComponent? I mean, i can't do 
this.

// component/MyComp.mxml
<mx:Button>
    ...
    <!-- i just set the icon, lable, and keyDown event -->
    ...
</mx:Button>

// component/HeaderRenderer.mxml
<mx:VBox>
    <Metadata>
        [Protected(permissions="EDIT",notInPermissionAction="invisible",componentId="edit")]
    </Metadata>
    <component:MyComp id="edit" />
</mx:VBox>

I use HeaderRenderer.mxml as DataGridColumn headerRenderer, but the role didn't 
work. But it work if the 
"edit" button is a <mx:Button/>

Original comment by syamsul....@gmail.com on 1 Apr 2010 at 5:26