tengo este código que necesito colocar un scroll vertical y uno horizontal, sol se ha creado el vertical pero el horizontal se crea pero no trabaja, estoy pasando una hoja de un archivo excel que tiene 8 columnas y es mucho mayor su ancho que la ventana que se esta usando en tkinter, por esto necesito el scrollbar horizontal, pero este a pesar de que se crea esta en colo gris como des habilitado. Gracias por su ayuda.
from tkinter import *
from tkinter.ttk import *
import pandas as pd
root = Tk()
root.title ('ejemplo')
root.pack_propagate(False)
root.geometry("1000x500")
root.resizable(0,0)
frame1= Frame(root,width=1000,height=500)
frame1.grid(column=0,row=0)
tv1= Treeview(frame1,height=22)
tv1.grid(column=1,row=0)
treescrolly = Scrollbar(frame1,orient=VERTICAL,command=tv1.yview)
treescrolly.grid(column=0,row=0,sticky='ns' )
treescrollx = Scrollbar(frame1,orient=HORIZONTAL,command=tv1.xview)
treescrollx.grid(column=1,row=1,sticky='we')
tv1.configure(xscrollcommand=treescrollx.set,yscrollcommand=treescrolly.set)
estilo= Style(frame1)
estilo.theme_use('clam')
estilo.configure(".",font=('Arial',8), foreground='black',background='orange')
estilo.configure('Treeview',font=('Arial',8),foreground="black", background="white")
estilo.map('Treeview', backgroundg=[('selected','yellow')],foreground=[('selected','white')])
df = pd.read_excel ('./ErlangB.xls','Ant',)
tv1['column'] = list(df.columns)
tv1['show'] = "headings"
for columna in tv1["column"]:
tv1.heading(columna,text=columna)
df_fila=df.to_numpy().tolist()
for fila in df_fila:
tv1.insert('', 'end',values=fila)
root.mainloop()