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

 

  • 469350
    Verified Answer
    Offline posted

     Hi Stefan,

    I don't understand your question. What exactly do you mean when you say:

    stevonix said:
    The Row and Cell Properties are set to AutoSize.

    What are you trying to autosize and what do you want it to size to? Putting the grid or any control into a TableLayoutPanel justsizes the grid control itself. This will have no effect on the sizes of the rows or columns contained in the grid.