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

I want radgrid rows in two columns

3 Answers 283 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Abhi Shinde
Top achievements
Rank 1
Abhi Shinde asked on 24 Mar 2011, 08:28 AM
Hi,
       I am binding data source to radGrid. By default its displaying rows in top to bottom flow.
I want to display data with column repeat direction = "horrizotal" .

Is that possible?

waiting for reply..

3 Answers, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 24 Mar 2011, 04:35 PM
Hello Abhi,

Please examine the Displaying pivot data help topic to see how the desired functionality can be implemented.
You can also examine the corresponding demo.

I hope this helps.

Greetings,
Mira
the Telerik team
0
Ravi Divate
Top achievements
Rank 1
answered on 11 Apr 2011, 03:22 PM
I too have similar requirement. I don't think Telerik team has understood the original problem. As per my understanding the problem is with displaying the records in 2 columns, for ex:

the default behaviour of radGrid displays the rows in single column like,
          ------------------------------------------
row1: column1  |   column2  |  column3  |
          ------------------------------------------
row2: column1  |   column2  |  column3  |
          ------------------------------------------
row3:  column1  |   column2  |  column3  |
          ------------------------------------------

but what my requirement is 
          ------------------------------------------                 ------------------------------------------
row1: column1  |   column2  |  column3  |      row 4:  column1  |   column2  |  column3  |
          ------------------------------------------                 ------------------------------------------
row2:  column1  |   column2  |  column3  |     row 5:  column1  |   column2  |  column3  |
          ------------------------------------------                 ------------------------------------------
row3:  column1  |   column2  |  column3  |     row 6: column1  |   column2  |  column3  |
          ------------------------------------------                 ------------------------------------------

so it should display 2 rows of data in one HTML row and this can be achieved in data list in asp.net controls but I need to do the same thing using the RadGrid. Is there any way to do this using RadGrid? Please help me to achieve this functionality.
0
Mira
Telerik team
answered on 14 Apr 2011, 11:05 AM
Hello Ravi,

I suggest that you use the RadListView control to achieve the desired look. It gives you the freedom to specify predefined or customized layouts for the data-bound items.

I hope this helps.

Regards,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Abhi Shinde
Top achievements
Rank 1
Answers by
Mira
Telerik team
Ravi Divate
Top achievements
Rank 1
Share this question
or