Export excel for pivot table cuba 6.9.7

Hi I’m using cuba 6.9.7 and pivot table still doesn’t have the capability to export data to excel. But I found that cuba 6.9.10 already have such capability, so can I manually export pivot tabel to excel without having to update cuba to 6.9.10? what class/extension that I should add to my project for this particular purpose

Thanks

Hi,

Since Export to Excel is a feature, not a bug, we do not plan to backport it to 6.9. The only thing you can do is to overview commits from this issue and try to implement the same for your project.

Regards,
Gleb

Hi @gorelov

Thanks, I already see the codes regarding excel exporting extension for PivotTable, but I’m struggling to import com.vaadin.shared.communication.ServerRpcclass in order to create CubaPivotTableExtensionServerRpc interface . Any suggestion?

Hi,

com.vaadin.shared.communication.ServerRpc can be imported in the web module. Also you need to add the web-toolkit module to place classes such as CubaPivotTableExtensionConnector.

Gleb