It happens because changing the size of the column indirectly causes the layout() method to be called on your widget. In order to dynamically insert data into the table, you could just call layout() on the table after you add the data. Then you won't need to reset the column size.
BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
Can you show me what you tried doing? Just the relevant parts, like setting the table data then attempting to redisplay it. You might also try calling the layout() method on the Display that contains the table. Basically calling it on the outer component might work. I forget the correct terminology and TBH I don't have Eclipse installed right now due to a hard drive failure and subsequent wipe, so I'm not in a position to test anything.
BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
Well that doesn't show where you called the layout method and what you called it on. See this article which reiterates what I explained before.
BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354