Closed Bug 74672 Opened 24 years ago Closed 24 years ago

allow certain columns not to show in the column picker

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

right now, the column picker iterates of all the columns and uses "hidden" to decide to show if the column is checked or not in the picker. there are cases where I don't want all the columns to show in the picker. (example: search and thread pane, which uses the thread pane overlay) specifically, the thread, unread total, and thread total columns should not show up in the column picker in the search dialog. eventually, the "folder location" column (when we add it) should not show up in the column picker in the thread pane. I was thinking I could add another attribute ("inpicker") that if "false" cause the js in outlinerBindings.xml to skip over and not add that column to the picker. hyatt, what do you think?
This is a problem I encountered also with the columnpicker. I got around it by using the collapsed attr (which is somewhat like a synonym of hidden) to mean "don't show this picker at all". You can see this at http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/content/treePopups .js#40. I gave hyatt the code for the xblified version of the columnpicker for outliner, but it looks like he didn't use that part of it.
QA Contact: esther → nbaca
I can't use collapsed, because it will actually collapse the column.
Hmmm....good point :-) It worked well for me because I had to hide the column as well (dynamically).
I talked to hyatt, I'm going to use another attribute to accomplish what I need. accepting
Status: NEW → ASSIGNED
the attribute will be ignoreincolumnpicker, so if you have ignoreinpicker="true" it won't show up. just waiting for a review from hyatt.
s/ignoreincolumnpicker/ignoreinpicker
ignoreincolumnpicker="true" sorry for the confusion. fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Marking verified.
Status: RESOLVED → VERIFIED
QA Contact: nbaca → laurel
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.