Link to home
Start Free TrialLog in
Avatar of danz67
danz67Flag for Italy

asked on

cxgrid column customization

hi,
How do I show the popup window to drag and drop columns, on runtime?
Avatar of Geert G
Geert G
Flag of Belgium image

set customization to true
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
Avatar of danz67

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
Avatar of danz67

ASKER

we're almost there, I saw that what I'm interested and Field Chooser, how do I open it at runtime?
Avatar of danz67

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
Avatar of danz67

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
Avatar of danz67

ASKER

ok, i wait, thanks
ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of danz67

ASKER

you really are a magician