Issue p-datatble

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
alex4033
Posts: 8
Joined: 05 Nov 2015, 15:06

27 Mar 2018, 05:35

Hello, please your help with the following question
I try

Code: Select all

export class User {
  public idSystemUser: number;
  public userName: string;
  public code: string;
  public name1: string;
  public name2: string;
  public systemUserRolList: SystemUserRol[] = [];

}

export class SystemUserRol extends AbstractEntity {
  public idSystemUserRol: number;
  public systemUser: User;
  public systemRol: SystemRol
}

Code: Select all

                                  <p-dataTable [value]="user.systemUserRolList" [editable]="true"> 
                                        <p-column field="idSystemUserRol" header="Rol" [editable]="true"></p-column>
                                        <p-column field="systemRol.name" header="Rol" [editable]="true"></p-column>
                                            </p-dataTable>
                                            

For the column systemRol.name does not edit the edition, there is some way to solve this issue

alex4033
Posts: 8
Joined: 05 Nov 2015, 15:06

27 Mar 2018, 15:09

I already found my error. Do not take this question into account

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

16 May 2018, 09:20

Thanks a lot for the update!

Best Regards,

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests