Ajax grid

- Added initial implementation of ajax support for grids.