Определите свое древовидное представление с такими же изменениями:
def ListMahasiswa():
root = Tk()
root.geometry('400x300+500+100')
root.title("My Test GUI")
cols=['col1','col2','col3']
tree = ttk.Treeview(root, columns=cols, show='headings')
connect = sqlite3.connect('Presensi.db')
cur = connect.cursor()
cur.execute("Select * FROM presensi")
fetch = cur.fetchall()
for data in fetch:
tree.insert('', 'end', values=(data[1], data[2], data[3]))
for col in cols:
tree.heading(col, text=col)
tree.column(col, width=100)
connect.commit()
cur.close()
tree.pack()
root.mainloop()