Closed CezarCretu closed 10 years ago
I've added this :
public BsGridRowConfigurator<TRow> DetailsTemplate(Func<TRow, MvcHtmlString> detailsTemplate)
{
Func<TRow, string> detailsAsString = t => detailsTemplate(t).ToString();
this._detailsTemplate = detailsAsString;
return this;
}
It's ok to commit ?
Sure, go ahead.
An overload that receives a Func<TRow, MvcHtmlString> should be added to the DetailsTemplate method to get rid of redundant ToString calls.