glyuck / GlyuckDataGrid

DataGridView (multicolumn tables) for iOS based on UICollectionView
MIT License
120 stars 35 forks source link

Self-sizing cells #9

Open xergic opened 7 years ago

xergic commented 7 years ago

Hi,

is there a possibility to create self-sizing cells? I know that without setting widthForColumn cells are fitted to screen. I want to set cell width based on the highest (longest) textLabel width.

My only idea is to go through all the data and get the highest width value based on sizeWithFont... method.

Thanks a lot for this library btw 👍