How to add a column with the same attribute as in newly added condition

            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);
                    }
                }
            });

Discussion

Enter your comment: