fix issue #1021 Move Column Right doesn't work
This commit is contained in:
parent
ee38f9edde
commit
6181224b22
@ -184,7 +184,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
|
|||||||
|
|
||||||
var doMoveColumnBy = function(change) {
|
var doMoveColumnBy = function(change) {
|
||||||
var newidx = Refine.columnNameToColumnIndex(column.name) + change;
|
var newidx = Refine.columnNameToColumnIndex(column.name) + change;
|
||||||
if (newidx > 0 && newidx < Refine.columnNameToColumnIndex(column.name)) {
|
if (newidx >= 0) {
|
||||||
Refine.postCoreProcess(
|
Refine.postCoreProcess(
|
||||||
"move-column",
|
"move-column",
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user