Are you getting the address lines directly from database. If so please make
sure there is no space between them in the particular field itself.

If they are a combination of several fields in database. Use trim() method
to trim the unnecessary white spaces before and after the strings.

You can use trim() method in your query itself in most of the SQL, I
guarantee you its available in Mysql. Or either you can use it from
stringutils.trim in flex.

On Tue, Sep 28, 2010 at 11:52 AM, Malek S <[email protected]> wrote:

> HI All,
> I need urgent help on data grid coloumns.
> My problem is :
>
> I am fetching the tenent address and agency addresss from Db in my
> datagrid.
> however there some extra space coming between two address line.
> I am attaching the screen shot for the same
>  to please help me
>
>
>
> <mx:DataGrid
> width="100%" height="60%" id="opportunityGrid" dataProvider="{
> FormModel.getInstance.jobs}"
>
> styleName="
> serviceGrid">
>
> --
> 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]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
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.

Reply via email to