javascript dir added to dataGrid