ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: 徐雪峰 on October 15, 2020, 08:07:05 am
-
I want the text of column head align to center,
but the data align to right.
do you know how to do it?
-
Please check column.align and column.halign properties
https://paramquery.com/pro/api#option-column-align
https://paramquery.com/pro/api#option-column-halign
-
i hope the [金额] align is center,but the data is align to right.
i have tryed the align property, and i also tryed use the clsHeader property,
but it seems to don't display as my hope.
-
column.align works correctly as can be verified by adding align: 'center' to Freight column in this example:
https://paramquery.com/pro/demos/autofill
Could you please share a jsfiddle of your code.