If you write your settings like:
var grid = new GriddlySettings<Drg.M3.Domain.Events.Registration>();
grid.RowId(x => x.Blah.Id);
grid.SelectColumn(x => x.Id);
The input in the select column will be rendered with x.Blah.Id as the value instead of x.Id. However, if you write
var grid = new GriddlySettings<Drg.M3.Domain.Events.Registration>();
grid.SelectColumn(x => x.Id);
grid.RowId(x => x.Blah.Id);
The input value will be x.Id as expected. It seems to me that the value should always be whatever expression was specified in SelectColumn
If you write your settings like:
The
inputin the select column will be rendered withx.Blah.Idas the value instead ofx.Id. However, if you writeThe
inputvalue will bex.Idas expected. It seems to me that the value should always be whatever expression was specified inSelectColumn