updated type detection in slickgrid