Bonsoir, en fait je voudrais inséré un treeview dans une fonction accompagné d'une image mais l'image n'apparaît pas et dans un toplevel besoin d'aide s'il vous plaît !!!
The parent in the .insert() method of a treeview widget expects a treeview item, such as "I001" (ie: a sub-item). If the item you're adding is a root item, then parent can be a blank string( parent=""")
Hello. There is a csv module for Python, you can use that module to read csv files and once you have the csv data, you can populate the treeview from that data. I've created a video about how to populate a treeview widget. Please check out the videos section of my channel. Thanks.
Thanks for great explanation 👍🏼, I have one question about columns, how to show each column frame in different colors? For example vehicle type "red" name " blue" Year " yellow " Thanks again for your video.
Hi Mohammed Alneyadi, if you're referring to treeview headers, the colors can only be changed for all headers, not specific headers. If you're referring to the columns which can contain multiple rows, colors can only be defined per-row, not per-column. Thanks for watching my videos.
@@jobinpy thanks for replying jobin .. I tried many ways, but as you said, the colors changed for all headers. I searched that I can use (tag_configure) but still no result yet . Thanks jobin ،keep going wish you all the best.
An absolutely perfect tutorial for treeview. Everything you could ever want to know for your first project is discussed, well done!
Much appreciated!
how to disable the header or set visible property to false?
Bonsoir, en fait je voudrais inséré un treeview dans une fonction accompagné d'une image mais l'image n'apparaît pas et dans un toplevel besoin d'aide s'il vous plaît !!!
Thanks!
What is the value of the "parent" parameter of the "insert" method when the Treeview is in another "frame" widget for example. ? Is it "" or "frame"?
The parent in the .insert() method of a treeview widget expects a treeview item, such as "I001" (ie: a sub-item). If the item you're adding is a root item, then parent can be a blank string( parent=""")
My treeview frame shows another column, before my first written Column how do i avoid that ?
I think what you're looking for is: treeview_widget.configure(show="headings")
That will hide the first column, which is created automatically.
thank you
I just improved my treeview with the information in your video
Nice
Hi Jobin
I want to upload data in tree view from csv file.
Hello. There is a csv module for Python, you can use that module to read csv files and once you have the csv data, you can populate the treeview from that data. I've created a video about how to populate a treeview widget. Please check out the videos section of my channel. Thanks.
👌🏿👌🏿👌🏿👌🏿👌🏿
Thanks for great explanation 👍🏼, I have one question about columns, how to show each column frame in different colors?
For example
vehicle type "red"
name " blue"
Year " yellow "
Thanks again for your video.
Hi Mohammed Alneyadi, if you're referring to treeview headers, the colors can only be changed for all headers, not specific headers. If you're referring to the columns which can contain multiple rows, colors can only be defined per-row, not per-column. Thanks for watching my videos.
@@jobinpy thanks for replying jobin ..
I tried many ways, but as you said, the colors changed for all headers.
I searched that I can use (tag_configure) but still no result yet .
Thanks jobin ،keep going wish you all the best.