Hi all.

I'm creating a cxDBgrid at runtime and I need to set all the cells in a column to be TcxSpinEdit (because I'm then exporting the grid to excel and I want the number format to be preserved).
How can I do it?

Thanks!

Check how you do it in the designer. The property you set, is the one you need to set in code. I haven't used DevExpress in a while, so my memory is failing. If all else fails, the DevExpress forums are your best bet.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.