eService: Reduce width of Edit column

Feb 22, 2010 at 4:45 PM

By default the width of the Edit column in the grid view is the same as the other columns.  This results in a lot of wasted space for a small "Edit" button.  Has anyone figured out how to reduce the width of the Edit column to allow the Title column more space?

Mar 2, 2010 at 3:25 PM

Interesting.  Am I the only one?  Does everyone else's columns handle the width correctly?

Mar 3, 2010 at 5:14 PM

Figured it out.

Add an event handler for the casesGrid control that handles the DataBound event.  In the event handler change the column width as needed using: 

CasesGrid.InnerGridView.Columns[0].HeaderStyle.Width = Unit.Percentage(5);