Two way mode datagrid