rebuild stucture : create Parent Class for GxActiveRecord (Class CPOSActiveRecord) for easily to extend and share same methods in models. Exporting Excel is generated automatic and use SESSION to handle. Created more events and event Handlers to clear SESSION after export. {view}{update}{delete} code in view/danhsach is provided by Helper for shorter code. Template code is updated