Beispiel #1
0
        public override void Destroy()
        {
            if (store != null)
            {
                store.Changed -= OnFilterStoreChanged;
                store          = null;
            }

            base.Destroy();
        }
Beispiel #2
0
 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();
        }
Beispiel #4
0
 public FilterWidgetBase(jQueryObject div, TOptions opt)
     : base(div, opt)
 {
     this.store          = new FilterStore(new List <PropertyItem>());
     this.store.Changed += OnFilterStoreChanged;
 }