lsmith/yui3 — Issue #6: Add hide/showColumn
Author: lsmith
Created: 2011-12-13 08:20:56+00:00
State: open

Probably a class extension that auto-mix()es onto `Y.DataTable`

The implementation I'm thinking of involves adding a `

...

...

Foo

...

```

Thus hiding or showing a column would involve `boundingBox.addClass()` or `removeClass(...)`.

Caveats:

1. Not all columns have `key`s, some just formatters - complicates using column classes based on `key`
2. The same column can appear in the `columns` list multiple times - complicates using column classes based on `key`
3. Columns can be moved - complicates using classnames based on column position
4. Nested headers will need to have their `colspan`s adjusted.
5. Since hidden cells will still be in the DOM, this will impact memory and render time.

The `