hi Sam
Thankyou
My exact requirement is , i have an xml
<timeIntervals>
<xphysicians>
<timekey>
<column 1st="karthik" 2nd="FOLLOW-UP"/>
<column 1st="Suresh" 2nd="ANNUAL PHYSICAL"/>
</timekey>
<timekey>
<column 1st="babu" 2nd="FOLLOW-UP"/>
<column 1st="appu" 2nd="ANNUAL PHYSICAL"/>
</timekey>
</xphysicians>
</timeIntervals>
My output should be like
Column 1 (Header Text) Column 2 (Header Text)
karthik FOLLOW-UP babu FOLLOW-UP
Suresh ANNUAL PHYSICAL appu ANNUAL PHYSICAL
the two data i.e karthik FOLLOW-UP
Suresh ANNUAL PHYSICAL should come inside one
row
it is possible or not because when i change the two timekey to (timekey1 and
timekey2) i am getting the required output but my client is not happy with
that format
i need to know whether we can bring in that format
please help
--
Karthik.k
Mobile - +91-9894991640
On Thu, Jun 25, 2009 at 4:00 PM, xelf <[email protected]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---