danz67
asked on
cxgrid column customization
hi,
How do I show the popup window to drag and drop columns, on runtime?
How do I show the popup window to drag and drop columns, on runtime?
ASKER
I know this already, I am interested in seeing the window as the image attached, via runtime code
is it the grid popup menu / field chooser window you are referencing to ?
> add a cxGridPopupMenu
> set always fire on popup = true
> set grid to your grid
> right click on title column, field chooser
> add a cxGridPopupMenu
> set always fire on popup = true
> set grid to your grid
> right click on title column, field chooser
ASKER
we're almost there, I saw that what I'm interested and Field Chooser, how do I open it at runtime?
ASKER
no solution???
use the way i described
and a cxGridPopUpMenu
and in those properties set grid to your grid
setting AllwaysFireOnPopup can also help
at runtime you right click on a column header and then select field chooser
and a cxGridPopUpMenu
and in those properties set grid to your grid
setting AllwaysFireOnPopup can also help
at runtime you right click on a column header and then select field chooser
ASKER
I had already done this and understood, it is possible to display "field chooser" directly from code inside a button and not by right-clicking on the column?
probably, i'd have to look in the source
hang on
hang on
ASKER
ok, i wait, thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you really are a magician
this will set enable a small button in the top left of the header
allowing you to hide/show columns
ColumnsMoving is to allow the columns to be reordered
cxgridOptions.png