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
1705
I'd like to swap columns via drag and drop, not the little dropdown
posted

Can I let my users swap columns via drag and drop?  When I set grid.displaylayout.override.allowcolswapping to true, a little dropdown combo appears in each column, but to me that looks cluttered. 

Parents
No Data
Reply
  • 918
    posted

    I think the ability to move the columns is the defaut action for the grid.  If you want to retain the column position you have to save the layout to file and reload when the grid is loaded.  Try removing the allowcolswapping line then click on a header and drag it.  I think you'll see some big red lines pop up as you move it.

Children