bugfix: class var in datagrid window resize event