Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-10-2026, 07:28 PM   #1
slb
Member
slb began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2023
Device: none
How to make custom column dropdown based on other column?

Hi

I have many genres in my library. Now I use one hierarchy column, but it is a very messy sight. So I'd like to set op this scenario:

Custom column 1: 'Main Genre'
=> with dropdown list: Romance, Action, Adventure, Horror...

This I know how to do.

Custom column 2: 'Sub Genre'
=> with specific dropdown values in list
=> able to select multiple values

Example 1:
Main Genre = Romance
Sub Genre specific dropdown: Time Travel, Fantasy, ...

Example 2:
Main Genre = Science Fiction
Sub Genre specific dropdown: Space Opera, Aliens, ...

How do I make this column?

Thanks in advance

Last edited by slb; 04-10-2026 at 07:33 PM.
slb is offline   Reply With Quote
Old 04-12-2026, 06:32 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,733
Karma: 81469865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I don't think the dropdown is possible.

What I personally do, I have #booktype (enumerated dropdown), Fiction, Nonfiction, Magazines & Publications, etc. Then I have tags, which is Fiction.Romance, Magazines & Publications.Brochures. Then I use this composite column:

Code:
program:

tags = $tags;
booktype = strcat($#booktype, '.');

list_re(tags, ',', booktype, ',')
So for a book with type Fiction and tag Fiction.Mystery, it displays the column as 'Mystery.'
ownedbycats is offline   Reply With Quote
Reply

Tags
calibre, custom column


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Column - Main Author based on Book Count mikhail_fil Library Management 1 08-05-2023 10:27 PM
Custom Column based on Merged Tanjamuse Library Management 0 06-29-2019 01:37 PM
How to build custom column based on other columne (if - then statement) asogn Library Management 3 03-05-2016 11:17 AM
Looking for how to create a custom column based on a tag kaufman Library Management 10 02-12-2014 11:15 AM
Custom column returns value based on value of another custom column? calvin-c Calibre 3 09-14-2013 02:24 PM


All times are GMT -4. The time now is 02:39 AM.


MobileRead.com is a privately owned, operated and funded community.