1
Я не был в состоянии удалить кнопку Фильтр таблиц
,
Я использую ниже кодОфис 2013 JavaScript API - Удалить фильтр таблицы Кнопки
Office.context.document.setSelectedDataAsync(sampleDataForExcel, { tableOptions: { filterButton: false } },
function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Failed) {
app.showNotification('Could not insert sample data',
'Please choose a different selection range.');
} else {
Office.context.document.bindings.addFromSelectionAsync(
Office.BindingType.Table, { id: "myBinding" },
function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Failed) {
app.showNotification('Error binding data');
} else {
window.location.href = '../index.html';
}
}
);
}
}
);
Пробовал это, но не работал для меня. – ozil