Hi,
i have created a CardView & there are two rows in card view displaying vertically. I need to set the captions for the two rows. So, the card view should look something like this:
Caption1 Caption2
ColumnA Data1-A Data2-A
ColumnB Data1-B Data2-B
ColumnC Data1-C Data2-C
How do i add Caption1 & Caption2? Please help.
Thanks, Aman
walterG said:How can i add different images instead of different text?
HOWTO:How can I have each Card in an UltraWinGrid display a different image based on the data in the row?
walterG said:the .CaptionField property needs a column key but if i want to write something more complex like the content of 2 columns.How can i do that?
the .CaptionField property needs a column key but if i want to write something more complex like the content of 2 columns.
How can i do that?
What you can do is add an unbound column to the band and use the InitializeRow event to populate this column with whatever text you want. Then set the CaptionField to this unbound column.
Another problem.
How can i add different images instead of different text?
Image1 Image2
Thank you.
Hello!
thank you
Hi Aman,
I think you are looking for the band.CardSettings.CaptionField property. This allows you to make one of the fields of data into a caption for the card.