public TransformationsGridRow(TransformationsGrid grid) : base(grid) { TransformationsGrid = grid; PhoneNumber = new GridPlainTextCell(this, grid.TransformationsColumns.PhoneNumber); Email = new GridPlainTextCell(this, grid.TransformationsColumns.Email); cells = new GridCell[] { PhoneNumber, Email }; }
public UsersGridRow(UsersGrid grid) : base(grid) { UsersGrid = grid; Name = new GridPlainTextCell(this, grid.UsersColumns.Name); Password = new GridPasswordTextCell(this, grid.UsersColumns.Password); FullName = new GridPlainTextCell(this, grid.UsersColumns.FullName); UserRoleId = new GridListCell(this, grid.UsersColumns.UserRoleId); cells = new GridCell[] { Name, Password, FullName, UserRoleId }; }