define  a class for ext.grid