B4J Question AMBTable Autowidth Columns

walterf25

Expert
Licensed User
Longtime User
Hi All, is there an easy way to have the columns in an ABMTable resize automatically to fit the content on each cell, I have been searching the forums but haven't found anything useful so far, has anyone accomplished this, if so do you guys mind sharing how it was accomplished.

Thanks,
Walter
 

Harris

Expert
Licensed User
Longtime User
Yes, this a real bugger. In my apps, a row will only show enough content for the user to get the jist...
Example: Subject col: 50 width; Body col: 100 width.

This keeps the rows of consistent height. If they need to read more of the row, click the "view" icon which will expose a modal sheet that shows all content - body full height which could be many paragraphs. Its all up to you how to display the content.
Thanks
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
Also, you may have to substring the col to make it fit the width. If not, the col may be 50, but the content may scroll down rows depending on the length of the text quired.
 
Upvote 0
Top