I would like to ask if their is a possibility for the grid to have a Maximum Height?
I have a grid with a specific Height and not a scroll height. Resizing and Scrolling is enabled in the grid. My problem occur when I re size a certain column, the header will wrap. When the header wrap and occupy another space in the header part, the header height changes and my grid change its height too.
Is there a way to disable the resize of the height of the grid when we resize a column with a long header? also at a certain point, if the paging(not the paging size) is greater than one the pager occupies and additional 3 pixel. (skin=webblue)
5 Answers, 1 is accepted
I recommend that you examine Height vs. ScrollHeight help topic and let me know if it is useful for you.
the Telerik team
I am now using Height but their is a design problem....
During loading of the page, their is a flicker on the height. The paging will go to the center then after go to the bottom. its like their is an initialization of its height around 300-400 px.
also.... when i re size the header example the header title is "Selected Company" , resizing it to a smaller column will result to
and the whole grid height adjust and the height of the grid is now increased
I tried refreshing the grid then the grid height is back to normal.???
is their a possibility to set grid not to adjust its height.
I am afraid that based on the provided information it is hard to determine the exact cause for the problems you are facing. Could you paste your aspx and code-behind (please, use the code-formatter tool of the ticket editor) or open a formal support ticket and send us a simple working project where these problems can be observed. We will review them locally and advise you further.
the Telerik team
I realise it was 6 years ago but did you ever resolve the "initial height" problem of the radgrid. My radgrid has height=100% to fill the remaining space on the page but during page load it displays for a few seconds with a heights of around 400px.
I have the same issue and can't find any solution for it in the forums. It's tricky to explain.
I suppose that the height in your case is around 400px because you have scrolling enabled which makes the grid data div to be 300px by default plus grid header and pager it becomes almost 400px. If this is case and you want to make the grid 100% height and resize it based on the browser window size or depending on the container in which it is placed I recommend you examine the code library below where detailed information on the subject is provided:
Telerik by Progress