Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I set the background color for specific rows in Tableview? #512

Open
youde2000 opened this issue Dec 14, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@youde2000
Copy link

Is your feature request related to a problem? Please describe.

In the ttkbootstrap.Tableview, how can I set the background color for certain rows? For instance, I have a filtering condition where if the condition is met, those specific rows should have a red background color, while the rest should have a blue color

Describe the solution you'd like

The 'stripecolor' parameter in Tableview is designed to differentiate alternating rows with different colors uniformly. I believe the functionality I want to achieve operates on a similar principle, but it requires setting row colors based on specific conditions.

Describe alternatives you've considered

Not yet

Additional context

No response

@youde2000 youde2000 added the enhancement New feature or request label Dec 14, 2023
@youde2000
Copy link
Author

youde2000 commented Dec 14, 2023

One more:

I don't want to use the right-click menu for TableView. Is there a way to disable it so that my TableView remains just a simple table? Or perhaps allow developers to customize the functionality of the right-click menu?

@israel-dryer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants