I hope you are trying to export additional columns from the datasource of the grid. If so, you can hide the columns by setting its Visible property to false and setting the columns visibility to true on exporting(button click). To understand better, try out the code below:
aspx: