Here is my code to fetch data from MySQL and present it by a table. But because I am a newbie, I don't really understand about TreeView. Hence I don't know how to center the text in table. (Sorry because of inserting this picture because when I paste the code, it cannot be shown in correct format).
You can find similar lines of code here (in comment section): What is the best way to show data in a table in Tkinter?
Here is my table generated: (The text is on the left side of columns).
Thank all of you so much!