GridViewGeneratorSettings - SlowLogicBoy/Eto.Generator GitHub Wiki
GridViewGeneratorSettings.HeaderTextDelegate
- allows you to change what is displayed in column header
Example using Humanizer library:
var gridViewGeneratorSettings = new GridViewGeneratorSettings{
HeaderTextDelegate = (p) => p.Name.Humanize() //This allows you to change what is displayed in column header
}
var gridView = new GridViewGenerator().GetGridView<MyModel>(gridViewGeneratorSettings);
Result: