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

Listview Order

2 Answers 67 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 26 Apr 2012, 03:58 AM
I have same questions here. In listview the order of next data is shown like this :
Data1  Data2  Data3
Data4  Data5  Data6
Data7  Data8  Data9
................................

Instead horizontal, can the next data be shown vertically like this :
Data1  Data4  Data7  ::
Data2  Data5  Data8  ::
Data3  Data6  Data9  ::

Thanks b4.

2 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 27 Apr 2012, 09:30 PM
Michael:

The predefined layouts available for the RadListView are covered on the Understanding the HTML Output and CSS Styling documentation page and demonstrated in this online demo. It would be difficult to define a custom template to transpose the display of the listview items.

I believe that the best way to accomplish this is to transpose your data prior to assigning it as the RadListView.DataSource.

Here are a couple of articles relating to this option:
Transpose or just rows as columns
Transpose a DataTable using C#

I hope this helps!

0
Michael
Top achievements
Rank 1
answered on 02 May 2012, 04:52 AM
Jumpstart:

Thanks for your help. I will try it first.
Tags
ListView
Asked by
Michael
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Share this question
or