[flexcoders] Flex application architecture for data validation

2006-03-06 Thread gault17
We are trying to come up with a strategy for data validation in our Flex application. Our current approach is to perform basic data validation (valid values for each field) on the client side and invoke server-side objects to perform more thorough validation such as relational edits(e.g. "if fi

[flexcoders] datagrid column assistance needed

2006-03-08 Thread gault17
I'd like to set the protection and color of a datagrid column based on the content of another column in the datagrid. I've tried using a cellrenderer with the following code in setValue: if (item.nodeId != "xyz") { listOwner.getCellIndex().columnIndex.editable = false; } else { listOwner.g

[flexcoders] Re: datagrid column assistance needed

2006-03-10 Thread gault17
riginal Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of gault17 > Sent: Wednesday, March 08, 2006 5:57 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] datagrid column assistance needed > > I'd like to set the protectio

[flexcoders] Re: datagrid column assistance needed

2006-03-13 Thread gault17
a Box > -- > > http://www.macromedia.com/2003/mxml";> > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "gault17" wrote: > > > > Matt, > > I'm tr

[flexcoders] Re: Custom dg validator

2006-04-13 Thread gault17
Thanks for the suggestion. In case anyone is interested, this is the code that worked: http://www.macromedia.com/2003/mxml"; > {text} --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > are you using your textinput as the cell renderer ie > > cellRenderer="

[flexcoders] Re: Custom dg validator

2006-04-13 Thread gault17
Andrew, I had created a custom DataGrid that overrode the setFocusedCell function. This allowed me to create my custom TextInput as the cell editor and add a listener on the cellFocusOut event. This listener populated the event object value and colName attributes. The purpose of using this ap