How to : show the DisplayName attribute in column header?

  1. #1

    How to : show the DisplayName attribute in column header?

    hello, i write a gridpanel in the view, and use Html.X().ColumnFor to display column.

    Column name displayed is not DisplayNameAttribute, but the property name.

    How do I make it show DisplayName attribute in column header?

    Thank you.
  2. #2
    For anybody who is interested.

    The DisplayNameAttribute attribute works in v2.5.3, at least.

Similar Threads

  1. [CLOSED] PropertyGrid and DisplayName property
    By bossun in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 13, 2013, 10:12 AM
  2. Replies: 0
    Last Post: Apr 19, 2012, 3:53 PM
  3. [CLOSED] Hide the column option(on click of column header) for treegrid
    By AnulekhaK in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 01, 2012, 11:16 AM
  4. Replies: 1
    Last Post: Nov 24, 2011, 6:48 AM
  5. Replies: 1
    Last Post: Apr 22, 2009, 7:03 AM

Posting Permissions