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

Radgrid Height problem with UseStaticHeaders set to false

1 Answer 14 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jongalala
Top achievements
Rank 1
Jongalala asked on 05 Nov 2014, 12:24 PM
I have a radgrid inside an usercontrol. I use this usercontrol for using grid on my website. I add columns dynamically from code-behind based on
my requirement of the page. I used to set UseStaticHeaders to true. Everything was working fine but I had some alignment issue with gridlines.
After searching telerik support forum I got a solution that if I set UseStaticHeaders to false then the problem will be fixed. And the problem
got fixed in my website as well. But after setting UseStaticHeaders to false the grid height is set based on the row count. When there is more data
then the grid height increases and when there is no data grid height is minimum. I want to keep the grid height constant for a certain page.
Any solution? I need help badly.

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 10 Nov 2014, 08:55 AM
Hello,

Actually if the static headers are disabled the grid height should not increase. Could you please verify that the scrolling mechanism is not disabled?

Bear in mind that in order for us to provide a precise answer on why are you experiencing such behavior we need to review the page code. That said I would like to ask you to send us the relevant markup and code-behind so we can examine the implementation.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Jongalala
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or