The moose likes HTML, CSS and JavaScript and the fly likes Limit Table data within the width assigned Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Limit Table data within the width assigned" Watch "Limit Table data within the width assigned" New topic
Author

Limit Table data within the width assigned

Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 254
Dear Ranchers

I have a table with 7 columns.
slno - 5%
description - 45%
unit price - 10%
quantity - 10%
tax % - 10%
total tax - 10%
total amount - 10%

the value for the description is coming from the database and some time it is bit longer than the given widh, hence it is going to the next line.

I would like to chop the data retrieving from the table and limit to the width of the <td> which is set.

How can i achieve this, please advise.

Thanks/Regards

Araind
Jee Ba
Greenhorn

Joined: Feb 08, 2011
Posts: 7
Maybe this can Help: http://www.blakems.com/archives/000077.html
 
 
subject: Limit Table data within the width assigned
 
Threads others viewed
jqGrid with jsp server side
Json & JqGrid Integration in Spring MVC
Book prices down under
wrong value
calculations using JSP
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com