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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With