public override void Destroy() { if (store != null) { store.Changed -= OnFilterStoreChanged; store = null; } base.Destroy(); }
public void Run() { var fields = Q.GetColumns("Northwind.Product"); var dialog = new FilterDialog(); var panel = dialog.FilterPanel; panel.ShowInitialLine = true; var store = new FilterStore(fields.Where(x => x.NotFilterable != true)); panel.ShowSearchButton = true; panel.Store = store; dialog.DialogOpen(); }
public void Run() { var fields = Q.GetColumns("Northwind.Product"); var dialog = new FilterDialog(); var panel = dialog.FilterPanel; panel.ShowInitialLine = true; var store = new FilterStore(fields.Where(x => x.NotFilterable != true)); panel.ShowSearchButton = true; panel.Store = store; dialog.DialogOpen(); }
public FilterWidgetBase(jQueryObject div, TOptions opt) : base(div, opt) { this.store = new FilterStore(new List <PropertyItem>()); this.store.Changed += OnFilterStoreChanged; }