Skip to content

Commit

Permalink
"Fix" a sortable columns not todestroy the grid if the claculated wid…
Browse files Browse the repository at this point in the history
…th of the last column when sorted is less than 20px. The correction is to set sortable widget with scrollSensity about 10px.
  • Loading branch information
tonytomov committed Mar 2, 2010
1 parent c4ae6ee commit 211a655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/grid.jqueryui.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $.jgrid.extend({
var sortable_opts = {
"tolerance" : "pointer",
"axis" : "x",
"scrollSensitivity": "10",
"items": '>th:not(:has(#jqgh_cb,#jqgh_rn,#jqgh_subgrid),:hidden)',
"placeholder": {
element: function(item) {
Expand Down

0 comments on commit 211a655

Please sign in to comment.