gridview handle more cases in export