I have a table (datatble) with two rows for header, so i want export the two headers and also all table rows obviously.
Are you asking what software is needed for this? If so use the Buttons extension.
Or are you having problems accomplishing what you want. If so then please post your code or better create a test case showing the issue.
I'm afraid excelHtml5 doesn't support double header rows (or any other kind of complex headers).
If you absolutely need this, you would need to write this functionality yourself.
The customize option is where to put the logic.
It looks like you're new here. If you want to get involved, click one of these buttons!