On Fri, Mar 4, 2011 at 06:05, omrihar <[email protected]> wrote:

> So my question is twofold:
> 1) Is it possible to filter according to these values from the map without
> having to define corresponding columns to them?
>

Filtering is accomplished by keeping a backing store of the entire data
model, and placing into the "official" table model only those rows that are
to be displayed. This is handled internally by the Filtered table model, for
those columns of the data model that correspond to table columns. If you
look at the source for that table model, it should become reasonably obvious
how to modify or extend it to do as you're asking.


> 2) If Answer(1) == false, how can I remove a column from the visibility
> button?
>

There is an event that is fired when the column visibility menu is about to
be generated, and another event that is fired when the visibility menu has
been completely generated. The purpose of the latter is to allow you to
alter the generated menu, for example by removing certain items from it.

Cheers,

Derrell
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to