render() {
    super.render();

    if (IdsStringUtils.stringToBool(this.virtualScroll) && this?.data.length > 0) {
      /** @type {object} */
      this.virtualScrollContainer = this.shadowRoot.querySelector('ids-virtual-scroll');
      this.virtualScrollContainer.itemTemplate = (item) => `<li part="listitem">${this.itemTemplate(item)}</li>`;
      this.virtualScrollContainer.itemCount = this.data.length;
      this.virtualScrollContainer.itemHeight = this.checkTemplateHeight(`<li id="height-tester">${this.itemTemplate(this.datasource.data[0])}</li>`);
      this.virtualScrollContainer.data = this.data;

      this.shadowRoot.querySelector('.ids-list-view').style.overflow = 'initial';
    }
  }
/**
   * Render the list by applying the template
   * @private
   */
Render the list by applying the template
@private
Render the list by applying the template @private
render() {
    super.render();
    if (IdsStringUtils.stringToBool(this.virtualScroll) && this?.data.length > 0) {
      this.virtualScrollContainer = this.shadowRoot.querySelector('ids-virtual-scroll');
      this.virtualScrollContainer.itemTemplate = (item) => `<li part="listitem">${this.itemTemplate(item)}</li>`;
      this.virtualScrollContainer.itemCount = this.data.length;
      this.virtualScrollContainer.itemHeight = this.checkTemplateHeight(`<li id="height-tester">${this.itemTemplate(this.datasource.data[0])}</li>`);
      this.virtualScrollContainer.data = this.data;
      this.shadowRoot.querySelector('.ids-list-view').style.overflow = 'initial';
    }
  }
render ( ) { super . render ( ) ; if ( IdsStringUtils . stringToBool ( this . virtualScroll ) && this ?. data . length > 0 ) { this . virtualScrollContainer = this . shadowRoot . querySelector ( 'ids-virtual-scroll' ) ; this . virtualScrollContainer . itemTemplate = ( item ) => ` ${ this . itemTemplate ( item ) } ` ; this . virtualScrollContainer . itemCount = this . data . length ; this . virtualScrollContainer . itemHeight = this . checkTemplateHeight ( ` ${ this . itemTemplate ( this . datasource . data [ 0 ] ) } ` ) ; this . virtualScrollContainer . data = this . data ; this . shadowRoot . querySelector ( '.ids-list-view' ) . style . overflow = 'initial' ; } }
Render the list by applying the template
 @private
Render the list by applying the template @private
/** @type {object} */