Connecting Tech Pros Worldwide Forums | Help | Site Map

DataGrid Sizing

Member
 
Join Date: Jul 2009
Posts: 41
#1: 4 Weeks Ago
I have a stupid easy question (I hope).

I have a paging DataGrid, and I'm trying to keep the row height the same throughout all the pages. I tried setting the height for the rows, which seemed to do nothing.

I turned off word wrap, which did the trick, but it's still sizing the fields to fit everything in it, so the table is way too wide now. Changing the width doesn't seem to do anything.

Is there a way to shorten it, and just cut off some words?

Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,168
#2: 4 Weeks Ago

re: DataGrid Sizing


Have you tried using the CSS style overflow:hidden?
Reply


Similar ASP.NET bytes