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 Today, 06:16 AM   #1
Reader4106
Enthusiast
Reader4106 began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
Displaying Row Color Based on the Maximum Number of Values ​​in a Column

Dear Community,

Please excuse me if this question has already been answered. I searched but couldn't find anything.
In any case, thank you for your help.

Is it possible to change the row color of books when the following conditions are met:
In the column with fixed values ​​and the name "#m_status", there should be at most X entries with the value "!Lesen" ("!Read").
If the number is greater than value X, these books should be colored xyz (e.g., red).

Would it perhaps even be possible, in the case mentioned, to only display books of the category "!Lesen" ("!Read") in the catalog?

(Translated from German using Google Translate)
Reader4106 is offline   Reply With Quote
Old Today, 09:47 AM   #2
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,045
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Try adding this rule in Preferences/Look & Feel column coloring. Here's an image of the result.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	21
Size:	61.4 KB
ID:	221686  
dunhill is offline   Reply With Quote
Advert
Old Today, 06:34 PM   #3
Reader4106
Enthusiast
Reader4106 began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
Thanks for the help.

I didn't explain myself very well. I'll try again to be clearer:

1. Query the column "#m_status"

2. Count the values ​​in this column with the entry "!Lesen". (The entry "!Lesen" is the second in a list of 17 predefined values. The first value is an empty entry.)

3. If this count is greater than 5,

then display all of these books (entire rows) of these X books (x rows) in the font color "Purple".

I hope it's clearer now.
Reader4106 is offline   Reply With Quote
Old Today, 06:59 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,848
Karma: 80512826
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I don't believe calibre has the ability to perform actions across multiple rows; ie counting how many rows have a given value.

It's possible that one of DaltonST's plugins might help but I'll caution you, DaltonST has been inactive for several years now.
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
toggle values ​​in a column Fynjisx Calibre 1 08-27-2022 05:44 AM
​What ebooks include Android, microSD slot and is it possible to root them? Tlnvsn Android Devices 8 12-26-2017 11:33 AM
displaying multiple values in the same column beneath each other Firedancer885 Calibre 2 11-27-2010 03:13 PM


All times are GMT -4. The time now is 07:04 PM.


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