Update grid.base.js

fixed: if the addRowData's rdata parameter is array and pos is 'after' or 'before', then can't work