PDA

View Full Version : Grid Alignment Issue



jiindal1988
14 Nov 2011, 5:09 AM
Hello, I have created a Grid view/ Table View. The Grid/Table view is rendered dynamically and everything works great for me.

Only issue which I am facing is of data alignment. Since mobile device is quite small, data inside the grid overlaps each other.

I want to display the data in a proper Grid alignment .

Any Help is Appreciated.

mitchellsimoens
14 Nov 2011, 11:25 AM
You may want to use overflow: hidden; in your CSS for the cells. This will cut off any text that overflows the width.

http://www.w3schools.com/cssref/pr_pos_overflow.asp

jiindal1988
14 Nov 2011, 9:56 PM
Thanks, this worked for me.

How about viewing complete text???

Is there anything like wrapping a text???