I am encountering a problem using treeview. I need the root of the tree to have a fixed width, matchin my width of the div I have left for the tree view. The background of it matches the length of the word. For example I need to have a tree of sports meaning:
Football
Germany Bundesliga
England Premier
...
...
..
..
Tennis
ATP
WTA
Basketball
NBA
fff
fadftgfdsa
I need the names of the major sports to have a background behind them that has the width of the treeview. So Soccer, Tennis, Basketball will be more visible in a darker background but the background to be wider than the length of the text.
I want something similar to the panelbar. But I can't use the panelbar because I need to check two or more rows simultaneously and the panel doesn't offer it, but the treeview does.
Football
Germany Bundesliga
England Premier
...
...
..
..
Tennis
ATP
WTA
Basketball
NBA
fff
fadftgfdsa
I need the names of the major sports to have a background behind them that has the width of the treeview. So Soccer, Tennis, Basketball will be more visible in a darker background but the background to be wider than the length of the text.
I want something similar to the panelbar. But I can't use the panelbar because I need to check two or more rows simultaneously and the panel doesn't offer it, but the treeview does.