fix error of changing theme in datagrid
fix error of changing theme in datagrid