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
20
size of UltraGrid Columns and Rows
posted

Hello,

is it possible to get the "minimum" size of UltraGrid component after it is bound?

I'am not using Designer, I am creating datasource and UltraGrid at runtime, I need to show UltraGrid in modal dialog (nothing more), but without space after last column and after last row - there can be 0 to 100 rows for example. I can use grid.DisplayLayout.AutoFitStyle = AutoFitStyle.ResizeAllColumns and set fixed Width, but in case of two columns it is not pretty. And what about Rows ?

thank you for any advices.

Jan

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     Hi Jan,

        No, the grid does not have this functionality. It would be very complicated to calculate the height of the row, because you would have to take into account the borders, headers, scrollbars, etc. The same goes for Columns.

        You should submit this to Infragistics as a feature request:

         Request a Feature or Component

Children