How to set row height in active scaffold html table?

I have a products table created in active scaffold and html table
display is fine.But the product descriptions are too long for some
products and it stretches the html TD cell.

Now I want to limit the TD height and make the rest of description
content hidden by adding

to the TD contents. That is: ...
Product_descriptions

My question is how I can do this customization?

TIA,

Daniel

I figure this out by myself:

module ProductsHelper
$tag_start = “


$tag_end = “

def description_column(record)
description = $tag_start + record.description
description += $tag_end
end
end

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs