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

No horizontal scrolling

4 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arturo
Top achievements
Rank 1
Arturo asked on 27 Jan 2011, 11:29 PM
Hi,

I have a problem when using  a RadGrid with scrolling, when I activate the edit and delete columns the scrolling do not work if I remove that columns the scrolling works again. Is it a bug?

I tried with both auto and manual edit and delete columns, in both ways horizontal scrolling didn't work.

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 31 Jan 2011, 04:44 PM
Hello Arturo,

Can you please make sure that the total width of the columns (either auto-generated or declaratively set) exceeds the width of the grid?

Kind regards,
Pavlina
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.
0
Arturo
Top achievements
Rank 1
answered on 31 Jan 2011, 06:40 PM
Hi,

Thanks for the reply.

I attached an image where the problem is present, there are two grids both with scrolling activated and same datasource, the only difference is that the first RadGrid has the edit and delete columns  and the second RadGrid doesn't have those columns enabled.

When I enable the edit and delete columns the horizontal scrolling disappears and the columns become too narrow.


0
Pavlina
Telerik team
answered on 01 Feb 2011, 04:30 PM
Hello Arturo,

Please find attached to this message a simple test project which is working as expected. Examine it and see if it helps to achieve the desired functionality.

Best wishes,
Pavlina
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.
0
Arturo
Top achievements
Rank 1
answered on 01 Feb 2011, 06:17 PM
Hi

Thank you for the help.

HeaderStyle-Width="150px"  in the MasterTableView fixed the problem.
Tags
Grid
Asked by
Arturo
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Arturo
Top achievements
Rank 1
Share this question
or