FlowingCode / GridExporterAddon

Other
10 stars 8 forks source link

Combine GridExporter and GridHelper toolbar components in one toolbar #81

Closed wegerv closed 6 months ago

wegerv commented 9 months ago

I would like to propose an enhancement.

It would be nice to have the export buttons combined with components in the toolbar generated by GridHelper.addToolbarFooter(). At the moment it is one or the other. I think that would be easy if a third createFor static method on GridExporter is added that takes the Component provided to addToolbarFooter as an input, and adds the Anchors on that i.s.o the HorizontalLayout used now. After the createFor I can add the input Component (now with the export anchors) in the footer by calling GridHelper.addToolbarFooter() in my code.

Thanks in advance.