Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1105
Problem with Wingrid in a TableLayoutPanel with Autosize
posted

Hi,

I want to use the Ultragrid  (Dock.Fill) in a TableLayoutPanel. The Row and Cell Properties are set to AutoSize. The Grid does not size correctly in the cell. It always  stays the size it had in the designer.

How should I solve this problem. Is it posible at all to use this functionalitty with the ultraWinGrid?

What would also help me would be to find out  what heigth the grid has after the rows where added so I could then manually set the size of the cell.

 

regards 

Stefan

 

Parents
  • 1105
    posted

    Hi,

    thanks for the answer. I want to resize the grid itself. e.g. I have a tablelayout showing two grids. Each grid is in a row of the panel and the row is set to autosize. When the data is loaded into the grid I want both grids to show all rows of the grid.

     The thing that is happening now is that the grid has the size of the grid at design time or the defautl size so I am getting scroll bars which I don't want.

    regards

    stefan

Reply Children