When performing the action javascript to Export list data to excel there are 2 options:

  • Export data that is shown in the list
  • Export data that is in list query.

In the first option I can control which fields will be exported and what will be the size and header of each field, there is no option to align the header and data in the excel but it has a very good advantage when the customer does some selection in the list and the data he selected is exported to Excel.

However all of this is not available on the second option .

Does anyone beside me encounter this issue and like to have the same ability as the first option does?