Skip to content

DataGrid Column headers Alignment

Ravi Guturu

Asked Feb 27, 2006, 7:41 PM EST2 answers
Share
LinkedInX
how do we set datagrid column headers in Centre Alignment and text in Right Alignment.

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    For to do this go to property builder of the datagrid control. Go to Format option and then select Columns--->Headers---> and in Allignment section select "Center" in Horizontal Allignment DropDown list. Do the same same for "Items", here select "Right" in Horizontal Allignment DropDown list.
    0
  • 0
    Thanks for giving the idea.

    But i think it is suitable for Web Datagrid. i want for windows datagrid
    0