[#396 Support row reordering in slickgrid grid]
This commit is contained in:
@@ -173,3 +173,12 @@ classes should alter those!
|
|||||||
line-height: 13px;
|
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
BIN
images/drag-handle.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -163,11 +163,11 @@ my.SlickGrid = Backbone.View.extend({
|
|||||||
columns.push({
|
columns.push({
|
||||||
id: "#",
|
id: "#",
|
||||||
name: "",
|
name: "",
|
||||||
width: 40,
|
width: 22,
|
||||||
behavior: "selectAndMove",
|
behavior: "selectAndMove",
|
||||||
selectable: false,
|
selectable: false,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
cssClass: "cell-reorder dnd"
|
cssClass: "recline-cell-reorder"
|
||||||
})
|
})
|
||||||
columns.push({
|
columns.push({
|
||||||
id: 'del',
|
id: 'del',
|
||||||
|
|||||||
Reference in New Issue
Block a user