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

Using custom #= template # in window. with 2 colums that holds samt type.

0 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 2
Stefan asked on 20 Sep 2012, 12:30 PM
columns.Bound(p => p.StartDate).Format("{0: yyyy-MM-dd}").Title("Datum");
columns.Bound(p => p.StartDate).Format("{0:hh:mm}").Title("Tid");

Is there some way that i can name 2 colums that are the same? Like this

columns.Bound(p => p.StartDate).Format("{0: yyyy-MM-dd}").Title("Datum").ID("Date");
columns.Bound(p => p.StartDate).Format("{0:hh:mm}").Title("Tid").ID("Time");

and then use them in a template file like:

#= Time #
#= Date #

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Stefan
Top achievements
Rank 2
Share this question
or