Hi there guys, i am trying to make the value of a column header(Title) different from what the column is bound to. So my grid have a few columns where the value displayed in the column is different from what the column header say. So instead of the title being static like.
columns.Bound(c => c.CurrentPlanStatus).ClientTemplate("<
a
href
=
'"+ "Plan/EditTab" + "?pkid=#= ProjectKeyID #&pid=#=ProjectID #&fyid=#=CurrentFiscalYearID #&ptid=#=ProjectTypeID #&prgmid=#=ProgramID #'
" + ">#=CurrentPlanStatus#</
a
>").Title("FY 18");
i want it to be something like
columns.Bound(c => c.CurrentPlanStatus).ClientTemplate("<
a
href
=
'"+ "Plan/EditTab" + "?pkid=#= ProjectKeyID #&pid=#=ProjectID #&fyid=#=CurrentFiscalYearID #&ptid=#=ProjectTypeID #&prgmid=#=ProgramID #'
" + ">#=CurrentPlanStatus#</
a
>").Title("FY" + c => c.CurrentFiscalYear.ToString());
How do i go about doing this? thanks.