Autoselect filter question

1 view
Skip to first unread message

Hernán Morales Durand

unread,
Oct 25, 2009, 8:35:35 PM10/25/09
to omnibro...@googlegroups.com
Dear all,
  I'm using OB 2.0.2 and I have a column with 3 filters configured in the metagraph in this way:

...
metaNode
        childAt: #filter1 labeled: '1' put: node1;   
        childAt: #filter2 labeled: '2' put: node2;
        childAt: #filter3 labeled: '3' put: metaNode;
        addFilter: OBModalFilter new.
...

Only one filter will have items at one time. Is there a way to automatically select the filter which contains items in a column?
Cheers,

Hernán

Damien Cassou

unread,
Oct 26, 2009, 7:09:35 AM10/26/09
to omnibro...@googlegroups.com

are you sure you need filters if there are only items in one filter?

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

Hernán Morales Durand

unread,
Oct 26, 2009, 12:48:01 PM10/26/09
to omnibro...@googlegroups.com


2009/10/26 Damien Cassou <damien...@gmail.com>


On Mon, Oct 26, 2009 at 1:35 AM, Hernán Morales Durand
<hernan....@gmail.com> wrote:
> Dear all,
>   I'm using OB 2.0.2 and I have a column with 3 filters configured in the
> metagraph in this way:
>
> ...
> metaNode
>         childAt: #filter1 labeled: '1' put: node1;
>         childAt: #filter2 labeled: '2' put: node2;
>         childAt: #filter3 labeled: '3' put: metaNode;
>         addFilter: OBModalFilter new.
> ...
>
> Only one filter will have items at one time. Is there a way to automatically
> select the filter which contains items in a column?

are you sure you need filters if there are only items in one filter?


Hi Damien,
  Yes I think, some items are "terminals" and some not, and the terminal items happens to be paginated with 2 filters (because it could be millions of them). The non-terminal items open a new column when they are clicked.
Do I need to create a new filter? Any hints where to look?

Cheers,

Hernán


Reply all
Reply to author
Forward
0 new messages