pavankataria/SwiftDataTables

searchbar

PhoenixLeeSin opened this issue · 3 comments

I get an bug..
I write this this code

    lazy var dataTable:SwiftDataTable = {
        var options = DataTableConfiguration()
        options.shouldContentWidthScaleToFillFrame = false
        options.defaultOrdering = DataTableColumnOrder(index: 1, order: .ascending)
        options.shouldShowFooter = false
        options.shouldShowSearchSection = false
        let t = SwiftDataTable(data: [], headerTitles: headers, options: options)
        t.autoresizingMask = [.flexibleWidth, .flexibleHeight]
        return t
    }()

but the searchbar is not hidden ...

Which version of Swift are you using? Which version of the package you're using?
Could you follow the issue template please so that I know what your setup looks like?

This is tied to another issue related to configuration options not working when using a specific initialiser.

Conversation continued on: #34

Quick update @350541732 : this has been fixed, please download the latest version!
https://github.com/pavankataria/SwiftDataTables/releases/tag/0.8.0