Flex Validator -- Show Red Error Border on DataGrid Cell
Posted
by gmoniey
on Stack Overflow
See other posts from Stack Overflow
or by gmoniey
Published on 2010-04-27T02:20:17Z
Indexed on
2010/04/27
2:23 UTC
Read the original article
Hit count: 443
flex
|actionscript-3
I can successfully add a validator on an item in my datagrid, by passing in the particular element in the dataProvider to the validator, but I can't get the red border to show up around the cell if the validation fails.
I have stepped through the validator, and confirmed that it is passing back a failure, but I can't figure out why the red error border doesn't show up. I have a feeling its because I am passing the item in my dataProvider as the validator source, rather than the 'cell' item, but I can't find a way to access the cell.
Thanks.
© Stack Overflow or respective owner