Skip to content

Commit 967e83a

Browse files
committed
Another border fix to sync column widths
1 parent 6da664a commit 967e83a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

grid-markup/grid.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ Presentational
2525
.ui-grid .ui-grid-head {
2626
border-bottom-width: 0;
2727
}
28+
.ui-grid .ui-grid-head-table {
29+
border: none;
30+
}
2831
.ui-grid .ui-grid-head tr {
2932
border-left-width: 0;
3033
border-right-width: 0;

grid-markup/grid.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<script src="grid.js"></script>
1818
<script>
1919
$(function() {
20+
2021
$.fn.themeswitcher && $( "<div></div>" ).css({
2122
position: "absolute",
2223
right: 10,
@@ -25,8 +26,10 @@
2526

2627
$( "#dataTable1" ).grid();
2728
$( "#dataTable2" ).grid()
28-
.grid("widget").height(300).resizable()
29-
$( "#dataTable2" ).grid("refresh");
29+
.grid( "widget" )
30+
.height( 300 ).resizable();
31+
$( "#dataTable2" ).grid( "refresh" );
32+
3033
});
3134
</script>
3235
</head>

0 commit comments

Comments
 (0)