How to get column index in onCustomDrawCell event in DevExpress QuantumGrid (VCL)
delphi, devexpress, vcl
Solution
You can use AViewInfo.Item.Index.
Alternatively you could assign a different OnCustomDrawCell handler to each column instead of a single one to the view. Then there is no need to differentiate the columns.
Problem
In my application, I need co draw some grid columns (not completely rows) in different colors. How can I get current columt id, from TcxGridTableDataCellViewInfo variable? Thanks.