sanitize viewdata col/row values

Change-Id: Iec51b032c96189b20cd43934c477b587da3011a7