Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Closed Unassigned: WebGrid: Allow customizing header rendering [1069]

$
0
0
Add opportunity to customize header output. Like it made with "Format" property. Or just change Header type to object. To have a way for manage output.

```
namespace System.Web.Helpers {
public class WebGridColumn {

public bool CanSort { get; set; }

public string ColumnName { get; set; }

public Func<dynamic, object> Format { get; set; }

public __object__ Header { get; set; }

public string Style { get; set; }

}

}
```
Comments: Thanks for reporting this issue. We realize that WebGrid has a ways to go to fit more scenarios and become a fully customizable HTML helper. WebGrid was designed to address a set of fairly basic scenarios, and we do not plan to add any features at this time. There are several ways for a developer to customize to markup generated by WebGrid, but ultimately it is going to remain fairly limited in scope. Hence, regretfully and respectfully we have to resolve this issue as “won’t fix.”

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>