You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to specify different column names for multiple sheets having different columns
Consider the following example where I have two sheets: Product Validity and ID Warranty. Now I want to specify different names for the fields of both sheets. How do I achieve that? Currently I am able to only mention Product Name and it applies to both sheets. I want to have a different name for the second sheet. I am unable to find any reference to achieve this so far
return (new FastExcel($sheets))->download('Export.xlsx', function($event){
return [
'Product Name' (ID Name) => $event->key,
'Product Validity' (ID Warranty) => $event->date,
];
});
Would appreciate any help or guidance for the same.
The text was updated successfully, but these errors were encountered:
SawantTejas
changed the title
[QUESTION] How to have multiple sheets and also give specific names to the same?
[QUESTION] How to have multiple sheets and also give specific column names to the same?
Dec 29, 2023
SawantTejas
changed the title
[QUESTION] How to have multiple sheets and also give specific column names to the same?
How to have multiple sheets and also give specific column names to the same?
Mar 4, 2024
I want to specify different column names for multiple sheets having different columns
Consider the following example where I have two sheets: Product Validity and ID Warranty. Now I want to specify different names for the fields of both sheets. How do I achieve that? Currently I am able to only mention Product Name and it applies to both sheets. I want to have a different name for the second sheet. I am unable to find any reference to achieve this so far
Would appreciate any help or guidance for the same.
The text was updated successfully, but these errors were encountered: