I have applied this style to tkinter treeview but the data separator line got vanished
style_def = ttk.Style(frametree)
style_def.configure("Treeview",
background="#FFDEAD",fieldbackground="#FFDEAD", foreground="Black",
font=(None, 14), sheight=14, rowheight=30)
style_def.configure("Treeview.Heading",font=(None, 12))
I have tried without the style it works fine but when I merge it with the app which already has treeview, all the treeview gets the same style .So I changed the styling method and now I used the following.
style_defect = ttk.Style()
style_defect.configure("fordefect.Treeview", background="#FFDEAD", foreground="black", fieldbackground="#FFDEAD",font=(None, 14), sheight=14, rowheight=30)
style_defect.configure('fordefect.Treeview.Heading', background="white", font=('calibre', 14,"bold"))
style_defect.map('fordefect.Treeview', background=[('selected', '#1E90FF')], foreground=[('selected', 'white')])
self.tree = ttk.Treeview(frametree,height=26,style="fordefect.Treeview")
But now the border/item separator line has gone