implement generator for extjs grids