Row Height

By default, the grid computes row heights based on the font size and a default cell padding which is set to three pixels in the 'wijmo.css' file.

You can change this default value easily by specifying a different padding for the cells using CSS. This is a good approach because it applies to cells in all grid panels and does not require any code.

For example, the first grid below uses the default styles. The second increases cell padding to eight pixels, which makes it easier to use on devices with small screens:

Default Cell Padding: 3px

Id
Country
Product
Active
Downloads
Sales
Expenses
Overdue
0
US
Phones
145,248
81,732.54
38,401.13
1
Germany
Computers
111,632
20,603.32
27,944.24
2
UK
Cameras
181,205
44,217.79
48,877.49
3
Japan
Stereos
54,740
29,190.63
23,365.74
4
Italy
Phones
126,531
46,951.19
49,107.56
5
Greece
Computers
6,073
86,237.02
49,767.35
6
US
Cameras
135,436
31,459.18
40,845.40
7
Germany
Stereos
169,610
99,190.22
1,631.26
8
UK
Phones
139,988
52,628.41
46,700.93
9
Japan
Computers
137,524
54,681.54
4,055.50
10
Italy
Cameras
37,424
45,332.72
14,858.59
11
Greece
Stereos
197,708
64,269.75
38,148.18
12
US
Phones
6,078
38,100.45
17,157.09
13
Germany
Computers
191,491
50,512.92
35,798.63
14
UK
Cameras
23,791
27,345.15
45,354.90
15
Japan
Stereos
158,953
33,716.03
22,860.44
16
Italy
Phones
29,365
22,131.47
20,503.66
17
Greece
Computers
143,745
61,983.03
24,398.40
18
US
Cameras
38,982
87,819.15
41,271.16
19
Germany
Stereos
147,079
85,821.92
33,987.45
20
UK
Phones
124,973
21,840.68
44,768.12
21
Japan
Computers
179,287
8,657.99
41,928.95
22
Italy
Cameras
34,028
64,411.53
41,340.72
23
Greece
Stereos
43,837
99,997.27
24,068.28
24
US
Phones
130,441
71,972.60
40,473.13
25
Germany
Computers
20,187
72,909.41
35,922.53
26
UK
Cameras
25,105
90,517.64
9,456.19
27
Japan
Stereos
95,361
54,079.52
16,275.03
28
Italy
Phones
134,207
46,839.77
41,674.85
29
Greece
Computers
161,840
79,363.03
38,225.30
30
US
Cameras
187,508
29,499.68
26,139.26
31
Germany
Stereos
132,678
33,258.90
14,336.12
32
UK
Phones
164,122
22,251.79
9,343.58
33
Japan
Computers
13,703
62,462.28
34,652.25
34
Italy
Cameras
126,078
92,763.74
11,067.10
35
Greece
Stereos
185,741
6,652.16
45,005.22
36
US
Phones
135,701
9,397.80
7,454.87
37
Germany
Computers
21,394
60,987.02
47,652.14
38
UK
Cameras
98,125
14,805.63
33,880.58
39
Japan
Stereos
113,972
22,540.31
30,909.11
40
Italy
Phones
1,016
36,093.90
42,524.25
41
Greece
Computers
12,461
28,164.73
35,248.79
42
US
Cameras
191,716
98,881.24
19,356.85
43
Germany
Stereos
104,548
28,032.53
25,328.81
44
UK
Phones
106,315
5,700.84
14,027.68
45
Japan
Computers
99,215
84,641.55
30,657.89
46
Italy
Cameras
20,831
74,232.90
20,093.81
47
Greece
Stereos
186,678
13,069.83
34,982.62
48
US
Phones
123,081
83,056.79
34,256.33
49
Germany
Computers
113,948
17,276.76
9,226.64
50
UK
Cameras
121,822
25,074.83
49,855.74
51
Japan
Stereos
113,737
6,343.67
13,184.19
52
Italy
Phones
168,512
56,808.60
32,299.51
53
Greece
Computers
103,273
97,012.73
3,885.46
54
US
Cameras
102,593
15,576.53
40,682.64
55
Germany
Stereos
128,504
57,539.34
27,643.09
56
UK
Phones
134,497
99,454.65
15,082.04
57
Japan
Computers
12,890
46,570.31
24,153.70
58
Italy
Cameras
43,261
7,168.96
11,512.03
59
Greece
Stereos
30,166
44,689.99
22,553.97
60
US
Phones
3,969
38,883.79
40,802.24
61
Germany
Computers
40,520
91,362.93
1,478.85
62
UK
Cameras
101,892
96,288.96
49,678.59
63
Japan
Stereos
3,373
65,351.87
13,916.48
64
Italy
Phones
193,433
58,779.25
38,610.09
65
Greece
Computers
64,833
42,042.53
48,746.65
66
US
Cameras
177,199
97,288.72
12,758.73
67
Germany
Stereos
26,452
89,725.33
8,911.06
68
UK
Phones
176,578
54,465.72
39,252.26
69
Japan
Computers
102,808
35,238.35
49,587.35
70
Italy
Cameras
6,688
69,172.74
6,059.30
71
Greece
Stereos
38,982
49,651.68
29,064.47
72
US
Phones
52,332
31,036.32
12,106.80
73
Germany
Computers
156,815
13,306.00
30,625.19
74
UK
Cameras
111,858
65,561.93
17,051.39
75
Japan
Stereos
4,662
9,728.59
43,895.53
76
Italy
Phones
142,174
89,213.90
32,563.22
77
Greece
Computers
51,061
26,483.31
23,700.63
78
US
Cameras
39,180
88,758.46
24,579.23
79
Germany
Stereos
127,564
31,971.22
18,448.60
80
UK
Phones
48,906
99,542.06
30,525.31
81
Japan
Computers
364
98,342.68
48,089.56
82
Italy
Cameras
31,428
77,225.70
4,563.78
83
Greece
Stereos
38,182
6,250.25
5,503.10
84
US
Phones
146,559
10,192.39
41,991.36
85
Germany
Computers
128,534
57,297.46
12,081.70
86
UK
Cameras
167,438
85,958.07
22,368.56
87
Japan
Stereos
181,426
80,316.84
23,012.22
88
Italy
Phones
68,096
77,813.54
21,344.72
89
Greece
Computers
129,434
99,900.59
30,446.61
90
US
Cameras
17,940
62,384.08
49,532.55
91
Germany
Stereos
174,632
53,954.40
6,881.97
92
UK
Phones
399
55,746.54
33,609.62
93
Japan
Computers
75,847
86,616.78
16,251.45
94
Italy
Cameras
157,326
51,996.00
41,481.83
95
Greece
Stereos
108,240
52,251.07
8,145.46
96
US
Phones
126,837
55,323.41
15,730.50
97
Germany
Computers
49,990
80,063.02
23,006.57
98
UK
Cameras
184,320
33,739.71
9,612.61
99
Japan
Stereos
30,052
66,134.20
10,264.57
100
Italy
Phones
106,979
50,997.00
38,662.55
101
Greece
Computers
96,468
10,120.75
21,933.09
102
US
Cameras
23,882
85,963.30
28,118.99
103
Germany
Stereos
140,437
64,067.32
775.46
104
UK
Phones
113,888
45,795.68
49,670.65
105
Japan
Computers
24,468
12,049.98
14,160.42
106
Italy
Cameras
126,121
79,928.05
12,781.23
107
Greece
Stereos
52,797
1,298.81
22,288.59
108
US
Phones
58,864
83,975.43
41,160.53
109
Germany
Computers
106,103
95,156.32
10,107.34
110
UK
Cameras
189,077
85,173.58
44,806.17
111
Japan
Stereos
93,380
84,433.97
17,809.89
112
Italy
Phones
110,355
30,429.14
20,937.63
113
Greece
Computers
78,194
42,179.11
33,143.89
114
US
Cameras
120,105
93,199.74
45,628.05
115
Germany
Stereos
59,820
68,050.90
17,133.67
116
UK
Phones
93,343
79,925.84
10,844.87
117
Japan
Computers
181,808
51,965.38
43,103.08
118
Italy
Cameras
189,933
27,091.17
24,849.09
119
Greece
Stereos
65,495
18,802.13
13,072.66
120
US
Phones
123,090
58,889.16
45,403.49
121
Germany
Computers
72,046
75,680.09
39,446.87
122
UK
Cameras
23,877
10,254.05
30,680.85
123
Japan
Stereos
127,443
57,056.45
40,810.42
124
Italy
Phones
172,891
23,963.31
18,874.47
125
Greece
Computers
118,549
66,345.59
4,049.54
126
US
Cameras
106,642
99,522.14
7,962.26
127
Germany
Stereos
96,107
6,380.10
7,615.24
128
UK
Phones
197,049
3,634.31
16,604.10
129
Japan
Computers
6,812
51,723.43
28,671.40
130
Italy
Cameras
171,843
22,429.86
5,813.50
131
Greece
Stereos
31,459
77,552.37
41,644.97
132
US
Phones
150,961
24,029.63
8,759.82
133
Germany
Computers
24,724
17,971.50
28,898.43
134
UK
Cameras
145,811
82,950.35
11,434.70
135
Japan
Stereos
80,137
4,458.81
14,001.04
136
Italy
Phones
96,914
35,691.98
30,372.79
137
Greece
Computers
83,198
79,426.83
9,640.00
138
US
Cameras
20,441
13,491.39
26,254.53
139
Germany
Stereos
151,152
37,498.35
36,022.89
140
UK
Phones
91,371
8,532.38
29,265.31
141
Japan
Computers
8,037
77,799.90
17,313.29
142
Italy
Cameras
139,987
70,715.65
23,205.47
143
Greece
Stereos
108,917
83,793.89
21,157.98
144
US
Phones
181,158
40,958.73
40,775.32
145
Germany
Computers
116,255
75,148.09
11,714.87
146
UK
Cameras
184,722
58,456.06
49,587.75
147
Japan
Stereos
10,412
54,948.98
8,015.72
148
Italy
Phones
193,194
44,322.50
21,501.52
149
Greece
Computers
184,694
5,509.13
32,030.49
150
US
Cameras
61,561
99,904.32
43,265.64
151
Germany
Stereos
90,947
66,676.83
4,719.56
152
UK
Phones
198,532
68,886.73
2,575.22
153
Japan
Computers
176,485
70,075.06
16,871.58
154
Italy
Cameras
163,182
93,998.23
25,949.04
155
Greece
Stereos
36,859
51,019.68
19,234.05
156
US
Phones
75,458
52,093.12
19,171.65
157
Germany
Computers
58,158
83,215.39
39,521.15
158
UK
Cameras
145,740
40,479.41
26,791.70
159
Japan
Stereos
84,998
7,421.68
16,738.70
160
Italy
Phones
183,247
77,646.83
32,603.26
161
Greece
Computers
164,699
23,678.11
41,944.79
162
US
Cameras
111,569
45,105.55
37,140.95
163
Germany
Stereos
144,223
58,861.45
3,130.68
164
UK
Phones
36,558
4,118.28
44,190.50
165
Japan
Computers
130,864
23,615.00
30,475.38
166
Italy
Cameras
128,266
78,167.61
46,651.41
167
Greece
Stereos
9,069
54,617.65
26,708.01
168
US
Phones
51,435
1,701.56
8,344.46
169
Germany
Computers
14,977
72,603.59
13,098.71
170
UK
Cameras
111,711
56,767.05
30,732.53
171
Japan
Stereos
143,346
96,619.26
46,214.12
172
Italy
Phones
137,073
99,241.15
35,160.06
173
Greece
Computers
136,017
62,644.94
2,957.06
174
US
Cameras
128,372
65,617.85
46,615.84
175
Germany
Stereos
64,163
10,800.02
39,548.55
176
UK
Phones
181,322
7,437.94
8,432.20
177
Japan
Computers
185,265
78,365.81
14,627.03
178
Italy
Cameras
80,349
87,088.63
11,514.59
179
Greece
Stereos
23,581
56,632.30
10,988.27
180
US
Phones
134,401
48,295.69
36,250.98
181
Germany
Computers
96,168
16,255.80
1,047.20
182
UK
Cameras
89,592
46,606.25
3,749.51
183
Japan
Stereos
191,905
96,895.70
12,186.93
184
Italy
Phones
181,261
96,124.85
7,761.33
185
Greece
Computers
174,777
40,348.71
44,499.90
186
US
Cameras
120,368
93,635.73
45,450.77
187
Germany
Stereos
75,183
16,827.69
32,582.83
188
UK
Phones
18,666
63,223.06
39,200.62
189
Japan
Computers
64,421
31,498.46
4,765.32
190
Italy
Cameras
138,798
56,746.14
21,304.42
191
Greece
Stereos
96,687
807.87
7,174.62
192
US
Phones
66,824
16,101.74
24,681.02
193
Germany
Computers
182,274
87,285.63
32,096.88
194
UK
Cameras
143,196
94,708.53
5,271.12
195
Japan
Stereos
184,981
2,002.01
41,120.48
196
Italy
Phones
27,462
52,785.90
23,369.96
197
Greece
Computers
68,058
51,606.17
31,498.29
198
US
Cameras
62,150
29,608.83
15,734.00
199
Germany
Stereos
14,672
38,751.45
26,516.37

Custom Cell Padding: 8px

Id
Country
Product
Active
Downloads
Sales
Expenses
Overdue
0
US
Phones
145,248
81,732.54
38,401.13
1
Germany
Computers
111,632
20,603.32
27,944.24
2
UK
Cameras
181,205
44,217.79
48,877.49
3
Japan
Stereos
54,740
29,190.63
23,365.74
4
Italy
Phones
126,531
46,951.19
49,107.56
5
Greece
Computers
6,073
86,237.02
49,767.35
6
US
Cameras
135,436
31,459.18
40,845.40
7
Germany
Stereos
169,610
99,190.22
1,631.26
8
UK
Phones
139,988
52,628.41
46,700.93
9
Japan
Computers
137,524
54,681.54
4,055.50
10
Italy
Cameras
37,424
45,332.72
14,858.59
11
Greece
Stereos
197,708
64,269.75
38,148.18
12
US
Phones
6,078
38,100.45
17,157.09
13
Germany
Computers
191,491
50,512.92
35,798.63
14
UK
Cameras
23,791
27,345.15
45,354.90
15
Japan
Stereos
158,953
33,716.03
22,860.44
16
Italy
Phones
29,365
22,131.47
20,503.66
17
Greece
Computers
143,745
61,983.03
24,398.40
18
US
Cameras
38,982
87,819.15
41,271.16
19
Germany
Stereos
147,079
85,821.92
33,987.45
20
UK
Phones
124,973
21,840.68
44,768.12
21
Japan
Computers
179,287
8,657.99
41,928.95
22
Italy
Cameras
34,028
64,411.53
41,340.72
23
Greece
Stereos
43,837
99,997.27
24,068.28
24
US
Phones
130,441
71,972.60
40,473.13
25
Germany
Computers
20,187
72,909.41
35,922.53
26
UK
Cameras
25,105
90,517.64
9,456.19
27
Japan
Stereos
95,361
54,079.52
16,275.03
28
Italy
Phones
134,207
46,839.77
41,674.85
29
Greece
Computers
161,840
79,363.03
38,225.30
30
US
Cameras
187,508
29,499.68
26,139.26
31
Germany
Stereos
132,678
33,258.90
14,336.12
32
UK
Phones
164,122
22,251.79
9,343.58
33
Japan
Computers
13,703
62,462.28
34,652.25
34
Italy
Cameras
126,078
92,763.74
11,067.10
35
Greece
Stereos
185,741
6,652.16
45,005.22
36
US
Phones
135,701
9,397.80
7,454.87
37
Germany
Computers
21,394
60,987.02
47,652.14
38
UK
Cameras
98,125
14,805.63
33,880.58
39
Japan
Stereos
113,972
22,540.31
30,909.11
40
Italy
Phones
1,016
36,093.90
42,524.25
41
Greece
Computers
12,461
28,164.73
35,248.79
42
US
Cameras
191,716
98,881.24
19,356.85
43
Germany
Stereos
104,548
28,032.53
25,328.81
44
UK
Phones
106,315
5,700.84
14,027.68
45
Japan
Computers
99,215
84,641.55
30,657.89
46
Italy
Cameras
20,831
74,232.90
20,093.81
47
Greece
Stereos
186,678
13,069.83
34,982.62
48
US
Phones
123,081
83,056.79
34,256.33
49
Germany
Computers
113,948
17,276.76
9,226.64
50
UK
Cameras
121,822
25,074.83
49,855.74
51
Japan
Stereos
113,737
6,343.67
13,184.19
52
Italy
Phones
168,512
56,808.60
32,299.51
53
Greece
Computers
103,273
97,012.73
3,885.46
54
US
Cameras
102,593
15,576.53
40,682.64
55
Germany
Stereos
128,504
57,539.34
27,643.09
56
UK
Phones
134,497
99,454.65
15,082.04
57
Japan
Computers
12,890
46,570.31
24,153.70
58
Italy
Cameras
43,261
7,168.96
11,512.03
59
Greece
Stereos
30,166
44,689.99
22,553.97
60
US
Phones
3,969
38,883.79
40,802.24
61
Germany
Computers
40,520
91,362.93
1,478.85
62
UK
Cameras
101,892
96,288.96
49,678.59
63
Japan
Stereos
3,373
65,351.87
13,916.48
64
Italy
Phones
193,433
58,779.25
38,610.09
65
Greece
Computers
64,833
42,042.53
48,746.65
66
US
Cameras
177,199
97,288.72
12,758.73
67
Germany
Stereos
26,452
89,725.33
8,911.06
68
UK
Phones
176,578
54,465.72
39,252.26
69
Japan
Computers
102,808
35,238.35
49,587.35
70
Italy
Cameras
6,688
69,172.74
6,059.30
71
Greece
Stereos
38,982
49,651.68
29,064.47
72
US
Phones
52,332
31,036.32
12,106.80
73
Germany
Computers
156,815
13,306.00
30,625.19
74
UK
Cameras
111,858
65,561.93
17,051.39
75
Japan
Stereos
4,662
9,728.59
43,895.53
76
Italy
Phones
142,174
89,213.90
32,563.22
77
Greece
Computers
51,061
26,483.31
23,700.63
78
US
Cameras
39,180
88,758.46
24,579.23
79
Germany
Stereos
127,564
31,971.22
18,448.60
80
UK
Phones
48,906
99,542.06
30,525.31
81
Japan
Computers
364
98,342.68
48,089.56
82
Italy
Cameras
31,428
77,225.70
4,563.78
83
Greece
Stereos
38,182
6,250.25
5,503.10
84
US
Phones
146,559
10,192.39
41,991.36
85
Germany
Computers
128,534
57,297.46
12,081.70
86
UK
Cameras
167,438
85,958.07
22,368.56
87
Japan
Stereos
181,426
80,316.84
23,012.22
88
Italy
Phones
68,096
77,813.54
21,344.72
89
Greece
Computers
129,434
99,900.59
30,446.61
90
US
Cameras
17,940
62,384.08
49,532.55
91
Germany
Stereos
174,632
53,954.40
6,881.97
92
UK
Phones
399
55,746.54
33,609.62
93
Japan
Computers
75,847
86,616.78
16,251.45
94
Italy
Cameras
157,326
51,996.00
41,481.83
95
Greece
Stereos
108,240
52,251.07
8,145.46
96
US
Phones
126,837
55,323.41
15,730.50
97
Germany
Computers
49,990
80,063.02
23,006.57
98
UK
Cameras
184,320
33,739.71
9,612.61
99
Japan
Stereos
30,052
66,134.20
10,264.57
100
Italy
Phones
106,979
50,997.00
38,662.55
101
Greece
Computers
96,468
10,120.75
21,933.09
102
US
Cameras
23,882
85,963.30
28,118.99
103
Germany
Stereos
140,437
64,067.32
775.46
104
UK
Phones
113,888
45,795.68
49,670.65
105
Japan
Computers
24,468
12,049.98
14,160.42
106
Italy
Cameras
126,121
79,928.05
12,781.23
107
Greece
Stereos
52,797
1,298.81
22,288.59
108
US
Phones
58,864
83,975.43
41,160.53
109
Germany
Computers
106,103
95,156.32
10,107.34
110
UK
Cameras
189,077
85,173.58
44,806.17
111
Japan
Stereos
93,380
84,433.97
17,809.89
112
Italy
Phones
110,355
30,429.14
20,937.63
113
Greece
Computers
78,194
42,179.11
33,143.89
114
US
Cameras
120,105
93,199.74
45,628.05
115
Germany
Stereos
59,820
68,050.90
17,133.67
116
UK
Phones
93,343
79,925.84
10,844.87
117
Japan
Computers
181,808
51,965.38
43,103.08
118
Italy
Cameras
189,933
27,091.17
24,849.09
119
Greece
Stereos
65,495
18,802.13
13,072.66
120
US
Phones
123,090
58,889.16
45,403.49
121
Germany
Computers
72,046
75,680.09
39,446.87
122
UK
Cameras
23,877
10,254.05
30,680.85
123
Japan
Stereos
127,443
57,056.45
40,810.42
124
Italy
Phones
172,891
23,963.31
18,874.47
125
Greece
Computers
118,549
66,345.59
4,049.54
126
US
Cameras
106,642
99,522.14
7,962.26
127
Germany
Stereos
96,107
6,380.10
7,615.24
128
UK
Phones
197,049
3,634.31
16,604.10
129
Japan
Computers
6,812
51,723.43
28,671.40
130
Italy
Cameras
171,843
22,429.86
5,813.50
131
Greece
Stereos
31,459
77,552.37
41,644.97
132
US
Phones
150,961
24,029.63
8,759.82
133
Germany
Computers
24,724
17,971.50
28,898.43
134
UK
Cameras
145,811
82,950.35
11,434.70
135
Japan
Stereos
80,137
4,458.81
14,001.04
136
Italy
Phones
96,914
35,691.98
30,372.79
137
Greece
Computers
83,198
79,426.83
9,640.00
138
US
Cameras
20,441
13,491.39
26,254.53
139
Germany
Stereos
151,152
37,498.35
36,022.89
140
UK
Phones
91,371
8,532.38
29,265.31
141
Japan
Computers
8,037
77,799.90
17,313.29
142
Italy
Cameras
139,987
70,715.65
23,205.47
143
Greece
Stereos
108,917
83,793.89
21,157.98
144
US
Phones
181,158
40,958.73
40,775.32
145
Germany
Computers
116,255
75,148.09
11,714.87
146
UK
Cameras
184,722
58,456.06
49,587.75
147
Japan
Stereos
10,412
54,948.98
8,015.72
148
Italy
Phones
193,194
44,322.50
21,501.52
149
Greece
Computers
184,694
5,509.13
32,030.49
150
US
Cameras
61,561
99,904.32
43,265.64
151
Germany
Stereos
90,947
66,676.83
4,719.56
152
UK
Phones
198,532
68,886.73
2,575.22
153
Japan
Computers
176,485
70,075.06
16,871.58
154
Italy
Cameras
163,182
93,998.23
25,949.04
155
Greece
Stereos
36,859
51,019.68
19,234.05
156
US
Phones
75,458
52,093.12
19,171.65
157
Germany
Computers
58,158
83,215.39
39,521.15
158
UK
Cameras
145,740
40,479.41
26,791.70
159
Japan
Stereos
84,998
7,421.68
16,738.70
160
Italy
Phones
183,247
77,646.83
32,603.26
161
Greece
Computers
164,699
23,678.11
41,944.79
162
US
Cameras
111,569
45,105.55
37,140.95
163
Germany
Stereos
144,223
58,861.45
3,130.68
164
UK
Phones
36,558
4,118.28
44,190.50
165
Japan
Computers
130,864
23,615.00
30,475.38
166
Italy
Cameras
128,266
78,167.61
46,651.41
167
Greece
Stereos
9,069
54,617.65
26,708.01
168
US
Phones
51,435
1,701.56
8,344.46
169
Germany
Computers
14,977
72,603.59
13,098.71
170
UK
Cameras
111,711
56,767.05
30,732.53
171
Japan
Stereos
143,346
96,619.26
46,214.12
172
Italy
Phones
137,073
99,241.15
35,160.06
173
Greece
Computers
136,017
62,644.94
2,957.06
174
US
Cameras
128,372
65,617.85
46,615.84
175
Germany
Stereos
64,163
10,800.02
39,548.55
176
UK
Phones
181,322
7,437.94
8,432.20
177
Japan
Computers
185,265
78,365.81
14,627.03
178
Italy
Cameras
80,349
87,088.63
11,514.59
179
Greece
Stereos
23,581
56,632.30
10,988.27
180
US
Phones
134,401
48,295.69
36,250.98
181
Germany
Computers
96,168
16,255.80
1,047.20
182
UK
Cameras
89,592
46,606.25
3,749.51
183
Japan
Stereos
191,905
96,895.70
12,186.93
184
Italy
Phones
181,261
96,124.85
7,761.33
185
Greece
Computers
174,777
40,348.71
44,499.90
186
US
Cameras
120,368
93,635.73
45,450.77
187
Germany
Stereos
75,183
16,827.69
32,582.83
188
UK
Phones
18,666
63,223.06
39,200.62
189
Japan
Computers
64,421
31,498.46
4,765.32
190
Italy
Cameras
138,798
56,746.14
21,304.42
191
Greece
Stereos
96,687
807.87
7,174.62
192
US
Phones
66,824
16,101.74
24,681.02
193
Germany
Computers
182,274
87,285.63
32,096.88
194
UK
Cameras
143,196
94,708.53
5,271.12
195
Japan
Stereos
184,981
2,002.01
41,120.48
196
Italy
Phones
27,462
52,785.90
23,369.96
197
Greece
Computers
68,058
51,606.17
31,498.29
198
US
Cameras
62,150
29,608.83
15,734.00
199
Germany
Stereos
14,672
38,751.45
26,516.37
1
2
3
4
5
6
// This file locates: "Scripts/Lesson/C1FlexGrid/RowsStylingRowHeight.js".
c1.documentReady(function () {
    var theGrid = wijmo.Control.getControl('#theGrid');
    var theGridTallRows = wijmo.Control.getControl('#theGridTallRows');
 
});
1
2
3
4
5
6
7
// This file locates: "Content/css/Lesson/C1FlexGrid/RowsStylingRowHeight.css".
.wj-flexgrid {
  max-height: 250px;
}
#theGridTallRows.wj-flexgrid .wj-cell {
  padding: 8px;
}
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Web.Mvc;
 
namespace LearnMvcClient.Controllers
{
    public partial class C1FlexGridController : Controller
    {
        // GET: RowsStylingRowHeight
        public ActionResult RowsStylingRowHeight()
        {
            return View(Models.FlexGridData.GetSales(200));
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@model IEnumerable<FlexGridData.Sale>
 
<h1>
    @Html.Raw(Resources.C1FlexGrid.RowsStylingRowHeight_Title)
</h1>
<p>
    @Html.Raw(Resources.C1FlexGrid.RowsStylingRowHeight_Text1)
</p>
<p>
    @Html.Raw(Resources.C1FlexGrid.RowsStylingRowHeight_Text2)
</p>
<p>
    @Html.Raw(Resources.C1FlexGrid.RowsStylingRowHeight_Text3)
</p>
 
@Html.C1().CollectionViewService().Id("collectionView").Bind(Model)
 
<h3>
    @Html.Raw(Resources.C1FlexGrid.RowsStylingRowHeight_Title1)
</h3>
@Html.C1().FlexGrid().Id("theGrid").ItemsSourceId("collectionView")
 
<h3>
    @Html.Raw(Resources.C1FlexGrid.RowsStylingRowHeight_Title2)
</h3>
@Html.C1().FlexGrid().Id("theGridTallRows").ItemsSourceId("collectionView")