EQ.core.queryChanged(function (params) { if (params.changeType == "condition.add") { var cond = params.condition; if (cond.expressions) { var attrID = cond.expressions[0].id; var ColumnsPanelWidget = $('#ColumnsPanel'); ColumnsPanelWidget.ColumnsPanel("addNewColumn", attrID); } } });