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
2005
Double click on column edge
posted

Hi,

I am using an UltraGrid. How can know whether a double click is inside a cell or on its edge? I need to catch a double click on a cell edge to do resize width of column(s) to fit all cells.

Your help is greatly appreciated!

Best Regards,
Shaolin

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Shaolin,

    The grid has built-in functionality to auto-size the column width to it's contents when the user double-clicks on the column egde. Ad this functionality is enabled by default. So there's no reason for you to implement this yourself. Is there some particular reason you want to turn off the grid's auto-size and do your own? Or were you just not aware that the grid already does this?

Reply Children