Karthik,
There is another option, use seperate itemrenderers for the 2 columns.
Inside the set data() assign the values based on the coniditon check
as you required.

1 inside the set data() you will get the entire row data ie., the xml
data, you just check the values based on the activity that you need
and then assign the value to that column.


sample like set data(value:objetc){ value (contains the xml, parse it
and get the vlaue and assing to the renderer )}

I think you will get my point else let me know so that i can try to
make you understand more.


Sam


On Jun 24, 2:03 pm, Karthik K <[email protected]> wrote:
> hi guys
>
> still problem in xml reading
>
> i have an xml
>
> <timeIntervals>
> <timekey>
> <physicians name="karthik">
> <schedule activity="FOLLOW-UP"/>
> </physicians>
> <physicians name="Suresh">
> <schedule activity="ANNUAL PHYSICAL" />
> </physicians>
> </timekey>
> </timeIntervals>
>
> my req
>  there are two "xphysicians " tag
> first xphysicians tag should be in one column and second xphysicians physician
> tag is in next column i.e
> FOLLOW-UP should be in one column and ANNUAL PHYSICAL should be in second
> column
> but
>
> when it is displaying, it is displaying all in  one column because xphysicians
> tag are same
> when i change two xphysicians to xphysicians1 and xphysicians2 it is
> displaying according to my req
>
> how to traverse through xml and hold it and display
>
> but my client is not changing the xml to xphysicians1 and xphysicians2
>
> any idea
>
> please help
>
> --
> Karthik.k
> Mobile - +91-9894991640
--~--~---------~--~----~------------~-------~--~----~
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