set the width of header
yang19930204 opened this issue · 3 comments
yang19930204 commented
how to set the Width of columns not scaling depending on content?
pavankataria commented
@objc optional func dataTable(_ dataTable: SwiftDataTable, widthForColumnAt index: Int) -> CGFloat
This is the method that you need to implement. Once you override one column's width you'll need to specify the widths for all the other columns.
pavankataria commented
@yang19930204 Let me know if that helped so I can close the issue.
pavankataria commented
I’m marking this as closed and resolved since you haven’t gotten back so I imagine the solution worked for you. Feel free to open again if you have an issue with this post.