Closed nidem closed 8 years ago
When the key is 'hide' or 'hidden' the colum is not displayed. It still appears in the ShowColumnToggles
fields: [ { key: 'name', label: 'Name' } { key: 'hidden' label: 'Hidden' fn: (value, object, key)-> if value? and not value new Spacebars.SafeString '<span class="glyphicon glyphicon-eye-open is-true"></span>' else new Spacebars.SafeString '<span class="glyphicon glyphicon-eye-close is-false"></span>' } { key: 'alum' label: 'Alum' fn: (value, object, key)-> if value? and value new Spacebars.SafeString '<span class="glyphicon glyphicon-ok is-true"></span>' else new Spacebars.SafeString '<span class="glyphicon glyphicon-remove is-false"></span>' } ]
Commenting out the fn for the column makes no difference
fn
CSS issue. I didn't realize it defaults the class name to the same as the key. That class name hid the column.
When the key is 'hide' or 'hidden' the colum is not displayed. It still appears in the ShowColumnToggles
Commenting out the
fn
for the column makes no difference