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
1140
UltraGrid Column Width
posted

Is there a way to set the width of the column based on its dataset data. In my case, it should be equal to the longest data string within the dataset.

 

Let me know.

 

Thanks

Nagarjun

Parents
No Data
Reply
  • 17259
    Suggested Answer
    Offline posted

    After you bind your data, call column.PerformAutoResize.

    You can decide whether to resize according to visible rows or all rows with the first parameter, but resizing all rows can be slow if you have many rows.

Children