nlampi / SwiftGridView

Swift based data grid view.
MIT License
58 stars 15 forks source link

How to get footer not sticky and not divided by columns? #64

Open watemotion opened 3 years ago

watemotion commented 3 years ago

I need to have a footer not divided by columns, actually I'm getting this:

IMG_38B42A9972C7-1

But I need to add an UIImageView inside the footer that takes the full width of the SwiftGridView, as if the footer is made of one large column. Is it possible?

I also need the footer not to be sticky, but I've found the following feature only for the header: dataGridView.stickySectionHeaders = false

Thanks for reading Appreciate any feedback

nlampi commented 3 years ago

To have a footer that isn't sticky, the easiest way would be use a section footer which will always be at the bottom of the section. Non sticky header/footer is an idea to have but not currently implemented due to this workaround. For the question of a full width footer, I'm trying to think of something that can be done here.

watemotion commented 3 years ago

Ok I managed to use a section footer. It would be great if you find a way for the full width footer.

Thanks