File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 68
68
} ) ;
69
69
</ script >
70
70
< style >
71
+ thead td { text-align : center; }
71
72
thead th {
72
73
cursor : default;
73
74
}
94
95
< h2 > Movies! Click headers to sort, use inputs for filtering, pager for paging</ h2 >
95
96
< table id ="movies ">
96
97
< thead >
98
+ < tr >
99
+ < td colspan ="5 " class ="ui-widget-header "> Developers Grid</ td >
100
+ </ tr >
97
101
< tr >
98
102
< th width ="600 " data-property ="Name " data-type ="string "> Name</ th >
99
103
< th width ="100 " data-property ="ReleaseYear " data-type ="number "> Release Year</ th >
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ $.widget("spf.menugrid", {
15
15
} ) . append ( '<span class="ui-icon-asc ui-icon ui-icon-carat-1-n"></span><span class="ui-icon-desc ui-icon ui-icon-carat-1-s"></span>' ) ;
16
16
17
17
var thead = this . element . find ( "thead" ) ;
18
- var inputs = thead . children ( )
18
+ var inputs = thead . children ( ":has(th)" )
19
19
. clone ( )
20
- . insertAfter ( thead )
20
+ . appendTo ( thead )
21
21
. find ( "th" )
22
22
. removeAttr ( "tabindex" )
23
23
. each ( function ( ) {
You can’t perform that action at this time.
0 commit comments