caption in datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalini166
    New Member
    • Apr 2008
    • 70

    #1

    caption in datagrid

    Hi,

    I have datagrid.I format the datagrid and set caption for datagrid.But it is displayed in the center of the datagrid.i need it in left side and also set background color bold etc.

    pls help me.
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by shalini166
    Hi,

    I have datagrid.I format the datagrid and set caption for datagrid.But it is displayed in the center of the datagrid.i need it in left side and also set background color bold etc.

    pls help me.
    The HeaderStyle properties of the datagrid will allow you to set these formats.
    HorizontalAlign ="left"
    BackColor="what ever color you want"
    Font-Bold="True" //will make the text displayed in the header of the datagrid bold.

    Nathan

    Comment

    • shalini166
      New Member
      • Apr 2008
      • 70

      #3
      Originally posted by nateraaaa
      The HeaderStyle properties of the datagrid will allow you to set these formats.
      HorizontalAlign ="left"
      BackColor="what ever color you want"
      Font-Bold="True" //will make the text displayed in the header of the datagrid bold.

      Nathan

      I am not asking header of each column.I give name to datagrid.Header for datagrid.
      pls help me.

      Comment

      Working...