0
votes

I use table In one of my codenameone application forms.

I've a problem on column width. In some devices the table shows with horizontal scroll but in some devices not. I wanna fit the table to device screen width or change some columns width. I was searching for this feature but I didn't find something proper.

How can it perform?

2

2 Answers

1
votes

You can use the width attribute, it is expressed in percentage of available space where -1 is a special case (use it only on one column) that takes up remaining available space.

-2
votes

My advice is to checkout jquerymobile's solution [enter link description here][1]

[1]: http://jquerymobile.com/demos/1.3.0-beta.1/docs/tables/table-reflow.html jquerymobile reflow table