[SSE] Если отключен заголовок таблицы, дисейблить опцию отображения кнопки фильтра в заголовке.

This commit is contained in:
Julia Radzhabova 2016-04-08 14:36:04 +03:00
parent 75abf2f4c9
commit 5e9702a768

View file

@ -327,6 +327,8 @@ define([
this.chFilter.setValue(value, true); this.chFilter.setValue(value, true);
this._state.CheckFilter=value; this._state.CheckFilter=value;
} }
if (this.chFilter.isDisabled() == this._state.CheckHeader)
this.chFilter.setDisabled(!this._state.CheckHeader);
if (needTablePictures) if (needTablePictures)
this.onApiInitTableTemplates(this.api.asc_getTablePictures(props)); this.onApiInitTableTemplates(this.api.asc_getTablePictures(props));