FNCGrid horizontal align title and data


I'm a TTMSFNCGrid control in a WebCORE Project.

I want to horizontal align columns and i need to align to right if the data of the column is numeric.

I do this with the HorzAlignment:=gtaTrailing of the column of grid,

But then the title of the column align to right like a data.

How can i align to left (gtaLeading) the title of a column and to right the data (gtaTrailing) ?


You can use the OnGetCellLayout for that, and use the alignment properties based on row / column index


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.