evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.13k stars 453 forks source link

当刷新页面数据时候,Column的宽度忽然变长(即便当前列内容只有一个字符) #378

Open JianHz opened 3 years ago

JianHz commented 3 years ago

当刷新数据后,Column大小会自己忽大忽小,无法控制宽度,即便整列内容只有一个字符

PeterXiaosa commented 3 years ago

老哥 你这用中文 作者看不懂哇

HoseaDev commented 2 years ago

Can you speak English?

TCblack555 commented 1 year ago

you can't control the Column's width after scroll or refresh. although the Column just contains one character

TCblack555 commented 1 year ago

Got it! you gotta check your ColumnHeaderViewHolder.java and CellViewHolder.java.The execution object of the requestLayout() method must be the Textview