340
Views
6
Comments
I want to customize the table header order for excel export
Question

I want to customize the excel file order. If anybody knows the solution, Please help me. And if you give any examples then it helps a lot.

 

2020-07-29 19-08-40
Sanjay Kumar Sahu

Hello Densingh,


Could you please provide more info for your query. Your requirement is not clear.


Thanks,

Sanjay

UserImage.jpg
Densingh Daniel

Sanjay Kumar Sahu wrote:

Hello Densingh,


Could you please provide more info for your query. Your requirement is not clear.


Thanks,

Sanjay

 Hi Sanjay Kumar Sahu,

 As per the above image, I am specifying the column, But how to specify the order of the column.

I want deal status as the first column in excel export.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

I believe the order is based on the order of the attributes in the structure or record structure.

Regards,

Daniel

UserImage.jpg
Densingh Daniel

I am exporting an excel sheet based on the aggregate. I don't know how it is generating the order of column.

2021-03-18 21-03-15
Benjith Sam
 
MVP

Hi Densingh,

See this  sample app - ExportToExcelDemo


Follow the below mentioned Steps

1) Define a structure with all the selected attributes with an Order based on your requirement

2) Define a structure List type local variable within the action/screen scope

3) Before the RecordListToExcel  node, List Append All the record from the Aggregate List to the Local List type variable

4) Map the Local List variable to the RecordListToExcel node 

5) Check mark the (All Attributes) option in the RecordListToExcel action flow node 

Refer the attached .oml file


Hope this helps you!


Regards,

Benjith Sam

ReactLabExportExcelDemo.oml
UserImage.jpg
Ishaan Takkar

Hi Benjith Sam,

I also want to implement the logic for customize columns order for export to excel but the structure which I am using is fixed. So, basically user will select the columns on the run time and based on the order selected, excel should have same orders of column.

Do you have any idea how we can implement the same?



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.