Okay Matt, I got it... I should have looked more at the dataProvider instead being focused to hide a grid column... jsp all habit...
Thanks, Valy --- Matt Chotin <[EMAIL PROTECTED]> wrote: > If you just get rid of mx:DataGridColumn > headerText="Phad_id" > columnName="phad_id"/> -- primary key everything > should work I'd think (well > and dataProvider should be {addressModel} with > binding tags but that's > probably just a typo here. > > > > Matt > > _____ > > From: Valy Sivec [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 5:38 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Hide Datagrid column > > > > > > <mx:DataGrid id="dgAddress" rowCount="2" > width="95%" cornerRadius="0" > dataProvider="addressModel"> > > <mx:columns> > <mx:Array> > <mx:DataGridColumn headerText="Phad_id" > columnName="phad_id"/> -- > primary key > <mx:DataGridColumn headerText="Address" > columnName="phad_address" > /> > <mx:DataGridColumn headerText="City" > columnName="phad_city" /> > <mx:DataGridColumn headerText="State" > columnName="phad_state_province" /> > <mx:DataGridColumn headerText="Zip Code" > columnName="phad_postal_code" /> > </mx:Array> > </mx:columns> > </mx:DataGrid> > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/