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

Grid width problem in IOS

2 Answers 107 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christofer Hagstedt
Top achievements
Rank 1
Christofer Hagstedt asked on 03 Nov 2011, 04:54 PM
Hi,

We have an application using several RadGrids for different user data listings. In all of them we have the user registration date as a GridDateTimeColumn. When setting AllowFiltering="true" for that column the width of the Grid becomes totally screwed up on the Ipad or any other IOS device. The Grid becomes so wide it's not even possible to scroll sideways that far... When setting the value to false the Grid stays within the page boundaries and is about 700 or 800 px wide. All other columns work fine with filtering.

Has anybody come across this problem?

Thanks!

/Christofer

2 Answers, 1 is accepted

Sort by
0
Accepted
Elliott
Top achievements
Rank 2
answered on 03 Nov 2011, 07:49 PM
you know you can set the width of the filter column
<telerik:GridDateTimeColumn
     DataField="Date"
     HeaderText="Date"
     SortExpression="Date"
     UniqueName="Date"
     FilterControlWidth="70px"
     ShowFilterIcon="false"
     DataType="System.DateTime"
     CurrentFilterFunction="EqualTo"
     PickerType="DatePicker"
     AutoPostBackOnFilter="true"
     HtmlEncode="false"
     DataFormatString="{0:dd-MM-yyyy}"
     meta:resourcekey="Date">
     <ItemStyle Width="70px" />
 </telerik:GridDateTimeColumn>
0
Christofer Hagstedt
Top achievements
Rank 1
answered on 10 Nov 2011, 11:17 AM
Hi,

Setting theFilterControlWidth="100px" solved the problem.

It seams there's a bugg in the rendering of that specific columntype since this isn't required for other columns.

Thanks for your help!

/Christofer
Tags
Grid
Asked by
Christofer Hagstedt
Top achievements
Rank 1
Answers by
Elliott
Top achievements
Rank 2
Christofer Hagstedt
Top achievements
Rank 1
Share this question
or