ttkbootstrap icon indicating copy to clipboard operation
ttkbootstrap copied to clipboard

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

Open youde2000 opened this issue 1 year ago • 1 comments

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 avatar Dec 14 '23 02:12 youde2000

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

youde2000 avatar Dec 14 '23 14:12 youde2000