updated custom model grid to support copy paste.