Add fill down and blank down operations for all columns
This commit is contained in:
parent
e62bb7ac0e
commit
90628e6ab0
@ -760,6 +760,39 @@ DataTableView.prototype._createMenuForAllColumns = function(elmt) {
|
||||
click: function() {
|
||||
new ColumnReorderingDialog();
|
||||
}
|
||||
},
|
||||
{},
|
||||
{
|
||||
label: $.i18n('core-views/fill-down'),
|
||||
id: "core/fill-down",
|
||||
click: function() {
|
||||
for (var i = 0; i < theProject.columnModel.columns.length; i++) {
|
||||
Refine.postCoreProcess(
|
||||
"fill-down",
|
||||
{
|
||||
columnName: theProject.columnModel.columns[i].name
|
||||
},
|
||||
null,
|
||||
{ modelsChanged: true }
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
label: $.i18n('core-views/blank-down'),
|
||||
id: "core/blank-down",
|
||||
click: function() {
|
||||
for (var i = 0; i < theProject.columnModel.columns.length; i++) {
|
||||
Refine.postCoreProcess(
|
||||
"blank-down",
|
||||
{
|
||||
columnName: theProject.columnModel.columns[i].name
|
||||
},
|
||||
null,
|
||||
{ modelsChanged: true }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user