Skip to content

Commit 1dcdeb5

Browse files
committed
Added support for table caption, synced column widths, added support for scrollable body
1 parent cdd2589 commit 1dcdeb5

File tree

3 files changed

+312
-9
lines changed

3 files changed

+312
-9
lines changed

grid-markup/grid.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
11
/*
22
* grid.css
33
*/
4+
5+
/*
6+
Functional
7+
*/
8+
.ui-grid .ui-grid-head-table, .ui-grid .ui-grid-body-table {
9+
border-collapse: collapse;
10+
table-layout: fixed;
11+
}
12+
.ui-grid .ui-grid-body-table thead th {
13+
height: 0!important;
14+
}
15+
.ui-grid .ui-grid-head-table th, .ui-grid .ui-grid-head-table td,
16+
.ui-grid .ui-grid-body-table th, .ui-grid .ui-grid-body-table td {
17+
overflow: hidden;
18+
white-space: nowrap;
19+
}
20+
21+
/*
22+
Presentational
23+
*/
24+
.ui-grid .ui-grid-body tr {
25+
height: 2em;
26+
}
27+
.ui-grid th, .ui-grid td {
28+
padding: 0.2em 0.4em;
29+
}
30+
.ui-grid tr.ui-state-default,
31+
.ui-grid td.ui-state-default {
32+
background: none;
33+
}

0 commit comments

Comments
 (0)