[#396 Support row reordering in slickgrid grid]

This commit is contained in:
aliounedia 2014-04-10 20:14:46 +02:00
parent 9724ccf3f1
commit d94da32187
3 changed files with 11 additions and 2 deletions

View File

@ -173,3 +173,12 @@ classes should alter those!
line-height: 13px;
}
.recline-cell-reorder {
font-size: 12px;
padding: 2px;
width: 22px;
height: 14px;
line-height: 13px;
cursor: move;
background: url("../images/drag-handle.png") no-repeat center center;
}

BIN
images/drag-handle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -163,11 +163,11 @@ my.SlickGrid = Backbone.View.extend({
columns.push({
id: "#",
name: "",
width: 40,
width: 22,
behavior: "selectAndMove",
selectable: false,
resizable: false,
cssClass: "cell-reorder dnd"
cssClass: "recline-cell-reorder"
})
columns.push({
id: 'del',