Fixed undefined length variable in dataGridHelper
Merging origin/jye/master-pending-datagrid-lengthUndef into master