deecay / redmine_pivot_table

This Redmine plugin allows you to generate pivot table for issue analysis.
MIT License
52 stars 38 forks source link

Hide unused field #23

Closed pockmonst closed 8 years ago

pockmonst commented 8 years ago

Hello. I have 62 fields to used in pivot table plugin. but I use just 2 field, so the rest things are showed like this image. default

It looks very crowded so I want hide them or move under the page. If you use this(https://github.com/nicolaskruchten/pivottable) source, author said lastest version provide switch list function(https://github.com/nicolaskruchten/pivottable/issues/181) Is it possible to apply on your plugin?

deecay commented 8 years ago

Hi,

Actually I have forced to list them horizontal as a design decision.

If you want to see a different behavior, patch app / views / pivottables / index.html.erb , line 147

unusedAttrsVertical: false to unusedAttrsVertical: true

I might make this a configurable parameter if enough people agree to do so.

pockmonst commented 8 years ago

Thanks! It works very well! I think almost people didn't make many custom fields likes me...:)