This is a migrated thread and some comments may be shown as answers.

[Solved] Several items per row

5 Answers 117 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Elena Kosinska
Top achievements
Rank 1
Elena Kosinska asked on 19 Nov 2010, 11:41 AM
Is it possible to place several items per row in GridView?
Smth like this structure:
[Name, Address]  [Name, Address]
[Name, Address]  [Name, Address]
[Name, Address]

where [Name, Address] - is one item with custom row layout so GridView looks like CardView.

Thanks,
Elena.

5 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 19 Nov 2010, 12:36 PM
Hello Elena Kosinska,

You can define a CellTemplate for your Column and put several textblocks there if you want.
Alternatively, you can check the Custom Row Style demo.

Best wishes,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Elena Kosinska
Top achievements
Rank 1
answered on 02 Dec 2010, 02:02 PM
I've used a custom row style, but it doesn't suit. I need cards placed side-by-side (2 or more columns).
So now it looks like this and I need smth like this.
Is it possible to implement with Telerik GridView features?

Thanks.

0
Veselin Vasilev
Telerik team
answered on 02 Dec 2010, 03:40 PM
Hi Elena Kosinska,

This seems more like a listview control, which we currently do not have for Silverlight. It is in our plans, but I cannot tell when we can start.

Do you expect that grid to have a working sort/filter/group mechanism?
If you do not need those, you can experiment with the ListBox and its ItemsPanelTemplate.

Find attached a sample application.

Regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Elena Kosinska
Top achievements
Rank 1
answered on 03 Dec 2010, 10:15 AM
Thanks, Veselin.
We considered a listbox with a custom items panel as an alternative decision, but we really need sorting and filtering, so GridView is a best choice for us at this moment.

Elena.
0
Veselin Vasilev
Telerik team
answered on 06 Dec 2010, 10:24 AM
Hi Elena Kosinska,

Then a nice listview control would be appropriate. I have added this as a feature request in our public issue tracking system and you can vote for it here.

Best wishes,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Elena Kosinska
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Elena Kosinska
Top achievements
Rank 1
Share this question
or