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 20c41eb commit 9956529Copy full SHA for 9956529
grid-spf/grid.js
@@ -35,7 +35,6 @@ $.widget( "ui.grid", {
35
var tbody = this.element.find( "tbody" ).empty();
36
// TODO how to refresh a single row? -> tmplItem().update()
37
$.tmpl( this.options.rowTemplate, this.options.source.toArray() ).appendTo( tbody );
38
- tbody.find( "td" ).addClass( "ui-widget-content" );
39
this._trigger("refresh");
40
},
41
@@ -74,7 +73,7 @@ $.widget( "ui.grid", {
74
73
if ( customTemplate ) {
75
return $(customTemplate).html();
76
}
77
- return "<td>${" + field + "}</td>";
+ return "<td class=\"ui-widget-content\">${" + field + "}</td>";
78
}).join( "" );
79
template = "<tr>" + template + "</tr>";
80
// compile the template
0 commit comments