Skip to content

Select column input "value" is not always the id value set #69

Description

@ithielnor

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions