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

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