Quantum Grid: How to incorporate both column-move and a header click event?
Posted on 2009-04-02
I am building an app that uses a DevExpress Quantum Grid and I want to give the user the ability to move the columns and to rename the caption in the column header. I used the OnColumnHeaderClick to open a dialog box for renaming the column. Now the dialog box opens immediately when the mouse button is depressed so there is no opportunity to drag the header to move the column. I don't see an event for a double click in the header which would be an easy solution.
Can someone suggest how I might give the user an intuitive, column-specific mouse action that would open an InputBox as the dialog for the new column header caption while preserving the ability to drag columns to create a new column order?