Transfer data from Parent to Child #7043
Unanswered
patriciozeus
asked this question in
Help
Replies: 2 comments 1 reply
-
---child dialog.ts-
-- parent dialog.ts-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
this.LoadAppInfo(); is need not to be define for your project .i load info using the passing value |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Community
I need to transfer data from
MasterDetailRelation. I attach an image and the reference code :
TaBieArriendoRow
.....
.....
[DisplayName("Tipo Contacto"), Column("arr_tipo_contacto")]
public ComboTipoContacto? ArrTipoContacto
{
get { return (ComboTipoContacto)Fields.ArrTipoContacto[this]; }
set { Fields.ArrTipoContacto[this] = (Int32)value; }
}
....
//////// MONTOS ARRIENDO (VINCULACION)
[DisplayName("Monto Arriendo"), MasterDetailRelation(foreignKey: "ape_arriendo", MasterKeyField = "arr_numero", FilterValue = "TaBieArriendoPersonasRow",IncludeColumns = "ArrTipoContacto"), NotMapped]
public List DetalleArriendo
{
get { return Fields.DetalleArriendo[this]; }
set { Fields.DetalleArriendo[this] = value; }
}
....
....
public RowListField DetalleArriendo;
TaBieArriendoPersonasRow
....
...
[DisplayName("Tipo Contacto"), Column("ape_tipo_contacto")]
public ComboTipoContacto? ApeTipoContacto
{
get { return (ComboTipoContacto)Fields.ApeTipoContacto[this]; }
set { Fields.ApeTipoContacto[this] = (Int32)value; }
}
...
...
TaBieArriendoPersonasEditor
....
....
protected validateEntity(row: TaBieArriendoPersonasRow, id: number) {
if (!super.validateEntity(row, id))
return false;
row.ArrNumero = Q.toId(row.ArrNumero);
Beta Was this translation helpful? Give feedback.
All reactions