Demo

Column fit and computed headers

Documented in Columns.

Column fit and computed headers

Switch resizeMode between 'auto' (columns stretch to fill the grid and a resize re-fits the others) and 'normal' (widths are kept and the space stays empty), and compute header text with headerValueGetter.

Order
Customer
Country
Qty (number)
Unit price (USD)
Amount (USD)
ORD-10000
Dewi Lestari
Malaysia
9
$129.00
$986.85
ORD-10001
Bao Nguyen
France
5
$12.75
$63.75
ORD-10002
Bao Nguyen
France
4
$14.00
$53.20
ORD-10003
Aiko Tan
Japan
7
$64.90
$431.59
ORD-10004
Chen Wei
France
7
$42.00
$264.60
ORD-10005
Elif Kaya
France
10
$64.90
$551.65
ORD-10006
Bao Nguyen
France
9
$129.00
$1,044.90
ORD-10007
Elif Kaya
Germany
10
$18.50
$185.00
ORD-10008
Bao Nguyen
Portugal
6
$9.25
$47.18
ORD-10009
Bao Nguyen
France
12
$9.25
$94.35
ORD-10010
Hana Sato
Germany
10
$12.75
$114.75
ORD-10011
Dewi Lestari
Germany
9
$9.25
$74.93
ORD-10012
Chen Wei
Portugal
7
$129.00
$857.85
ORD-10013
Bao Nguyen
Malaysia
1
$64.90
$55.17
ORD-10014
Hana Sato
Germany
12
$9.25
$99.90
ORD-10015
Farah Aziz
Japan
1
$9.25
$8.79
ORD-10016
Aiko Tan
Malaysia
12
$14.00
$159.60
ORD-10017
Farah Aziz
France
9
$18.50
$149.85
ORD-10018
Chen Wei
France
1
$64.90
$61.66
ORD-10019
Goran Petrov
France
9
$12.75
$114.75
No events yet.