Encoding grid column

- Added support for encoding grid column values.