This is a migrated thread and some comments may be shown as answers.

[Solved] Header in Grid

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael Jöhl
Top achievements
Rank 1
Michael Jöhl asked on 17 Feb 2010, 02:03 PM
Hello again =)

when i make a Grid, like the example here by telerik (with LinqToSql, ...) then the text for the title (in the Header of each column) is set automaticly. Why?
or better, how does this work?

ty

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 17 Feb 2010, 04:21 PM
Hi Michael Jöhl,

The title is set based on the name of the bound property. For example c => c.CustomerID yields Customer ID. To override this set the title of the column:

columns.Add(c => c.CustomerID).Title("Any title");

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Michael Jöhl
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or