Update grid.base.js

fixed: if the addRowData's rdata parameter is array and pos is 'after' or 'before', then can't work
Merge pull request #617 from shenghe/master

Update grid.base.js