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