We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4861323 commit 039c785Copy full SHA for 039c785
tests/visual/grid/data.html
@@ -75,16 +75,12 @@
75
.delegate( "tbody > tr", "click", function() {
76
datastore.select( $(this).tmplItem().data );
77
});
78
- details = $( "#developer" );
79
80
- initializeTable( summaryTable );
+ var tbody = summaryTable.find( "tbody" );
+ $.each( datastore.items( 0, 5 ), function( itemId, item ) {
81
+ $( "#row-tmpl" ).tmpl( item ).appendTo( tbody );
82
+ });
83
- function initializeTable( table ) {
- var tbody = table.find( "tbody" );
84
- $.each( datastore.items( 0, 5 ), function( itemId, item ) {
85
- $( "#row-tmpl" ).tmpl( item ).appendTo( tbody );
86
- });
87
- }
88
89
</script>
90
</head>
0 commit comments