No need to write logic to generate xls simply pass data and header and get your xls
>= 2.6.0
Rajnish mishra