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

Resizing of Columns for Grid Control with in a IFrame

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joey Mounarath
Top achievements
Rank 1
Joey Mounarath asked on 09 Mar 2010, 04:40 PM
Hi,

We have a grid control placed inside a iFrame where we are implementing the resize of the grid columns by setting AllowScroll= true and usestaticheaders = true.

I want to check whether it supports all the functionality if we place the grid control inside inside the iframe.
Right now we are facing issues regarding the scrolling and static headers apart from alignment of columns.

Below are the issues i am facing with the Telerik grid

1)  Grid Lines after each of the item/ AlternatingItem i.e each row in a grid as per screenshot alignment.gif
2)  Grid Header is not aligned with the cell content when static headers and allow scroll set to true as per screenshot alignment.gif.
3)  How to override the default css class by custom css classes
4)  How to set wrap option for a GridTemplateColumn because i need to set tooltip and wrap =false both.
5)  How to get the scrollbars at runtime if the grid is inside a iframe when i have resized the columns by default allowscroll set to false.
6)  What needs to be set if I need to seperate each of the Grid column header text just like seperator.
7)  When no of records are selected as 5 the pager row is not attached to the grid rows as per attached screenshot1
Please let me know the solutions for the above raised questions.

Thanks

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 11 Mar 2010, 04:51 PM
I believe the reason you are getting misaligned columns is because you have not set the HeaderStyle-width of your columns, instead you set the width property. If you set the HeaderStyle-Width to whatever you want the column's width to be both the header and column should have the same width, therefore you end up with properly aligned columns. As for your appearance questions I believe this documentation section (not just the article linked, the entire section it is contained in) should be able to help you :)
Tags
Grid
Asked by
Joey Mounarath
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or