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
1285
Set Cell width to Autosize
posted

How do you set a column's width to the largest content size to fit.  Like in excel when you double click column border.

  • 69686
    posted

    Hello,

    This is now available as a built-in feature in the XamDataGrid. You can see samples of this behavior in the XamFeatureBrowser which is installed with the samples installer. Moreover, this can be achieved by calling the PerformAutoSize() method of the Field or double click on the edge of a field (like in Excel).