Skip to content

Commit

Permalink
Core: Set fields cell width
Browse files Browse the repository at this point in the history
  • Loading branch information
tabalinas committed Dec 5, 2015
1 parent 76195eb commit 5da7677
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/jsgrid.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,9 +616,8 @@
$result = $("<td>").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);

Expand Down

0 comments on commit 5da7677

Please sign in to comment.