How to control the horizontal position of a column in DataGrid

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

The horizontal position of a column in a DataGrid always is left.
Can we change it to center of right?
 
You can configure each column in the datagrid with Data Grid properties
builder in VS. Look on the Format page and then find items and set the
formatting for your field.

If you're not using VS you can manually set the ItemStyle and HeaderStyle
object and hte horizontalalign attributes.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
 
I am using VS.NET.
I want the charater field align to left, and digit fields aling to right.
How can I set the formating to my field?
 
Back
Top