diff --git a/src/jsgrid.core.js b/src/jsgrid.core.js index aa95c5c1..8f1e3ad0 100755 --- a/src/jsgrid.core.js +++ b/src/jsgrid.core.js @@ -616,9 +616,8 @@ $result = $("").append(field.itemTemplate ? field.itemTemplate(fieldValue, item) : fieldValue); } - $result.addClass(field.css); - $result.css({"width": field.width}); - + $result.addClass(field.css) + .width(field.width); field.align && $result.addClass("jsgrid-align-" + field.align);