public override IReactiveColumn AddColumn(IReactiveColumn column, bool shouldSubscribe = true) { if (shouldSubscribe) { column.Subscribe(_subject); } return(_columns.AddColumn(column)); }
public IReactiveColumn AddColumn(IReactiveColumn column, bool shouldSubscribe) { // Add calc'ed columns _columns.AddColumn(column); var joinableCol = column as IReactiveJoinableColumn; if (joinableCol != null) { joinableCol.SetJoiner(_joiner); } // Need to subscribe to changes in calculated columns column.Subscribe(_calculatedColumnSubject); return(column); }
public void SubscribeToColumn(IReactiveColumn column) { _subscriptions.Add(column.Subscribe(GetObserver())); }