Repository navigation
Setting colours of cells #59
Answered
by
Akascape
Jackkkkk494
asked this question in
Q&A
|
Currently making an algorithm which checks inventory levels in my database and assigns this value a colour, I want this to change the colour of the cells in accordance to the row and column, is this possible? |
Answered by
Akascape
Nov 16, 2023
Replies: 3 comments 2 replies
|
@Jackkkkk494 When you insert a value in a cell using If you don't want to change any value in a cell but want to only change color: table.insert(row=row, column=column, value=table.get(row, colomn), fg_color="color_name") |
2 replies
Answer selected by
Jackkkkk494
|
I didn't notice my version,
Updating to latest version(0.7 to 0.8) fixed it.
Thank you so much.
Akash Bora ***@***.***>, 6 Ara 2023 Çar, 07:34 tarihinde şunu
yazdı:
… @aeris07 <https://github.com/aeris07> are you using the latest version?
—
Reply to this email directly, view it on GitHub
<#59 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A65LCSAFX3DTXRHZYADGPSLYH7YVDAVCNFSM6AAAAAA7IDRW72VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZRGUYTE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
0 replies
|
Hello @Akascape/CTkTable
***@***.***>
Thank you for your helpful and quick response,
Great, it worked like a charm,
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Jackkkkk494 When you insert a value in a cell using
.insertmethod, you can passfg_colorparameter too. Or you can simply set the hover color to the cell using.select(row, column)method.If you don't want to change any value in a cell but want to only change color: