Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • msn_elf
    Participant

    Hi
    try this solution :

    you must set 'auto-create=false'  and create popover component in afterViewInit State
    1- your popover :
     <jqxPopover
        #removePopover
        [auto-create]="false"
    [selector]="'.' + uniqName">
    </jqxPopover>
    2- your container :
    <div[class]="uniqName"></div>
    3-  in '... .component.ts'  please implement AfterViewInit:
    import { jqxPopoverComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxpopover';
        @ViewChild('removePopover') removePopover: jqxPopoverComponent;
        ngAfterViewInit(): void {
         if (this.removePopover) {
            this.removePopover.createComponent();
          }
        }
    
Viewing 1 post (of 1 total)