set alternateRowShading(value) {
    if (IdsStringUtils.stringToBool(value)) {
      this.setAttribute(attributes.ALTERNATE_ROW_SHADING, 'true');
      this.shadowRoot?.querySelector('.ids-data-grid').classList.add('alt-row-shading');
      return;
    }

    this.shadowRoot?.querySelector('.ids-data-grid').classList.remove('alt-row-shading');
    this.setAttribute(attributes.ALTERNATE_ROW_SHADING, 'false');
  }
/**
   * Set a style on every alternate row for better readability.
   * @param {boolean|string} value true to use alternate row shading
   */
Set a style on every alternate row for better readability.
@param {boolean|string} value true to use alternate row shading
Set a style on every alternate row for better readability . @param { boolean|string } value true to use alternate row shading
set alternateRowShading(value) {
    if (IdsStringUtils.stringToBool(value)) {
      this.setAttribute(attributes.ALTERNATE_ROW_SHADING, 'true');
      this.shadowRoot?.querySelector('.ids-data-grid').classList.add('alt-row-shading');
      return;
    }
    this.shadowRoot?.querySelector('.ids-data-grid').classList.remove('alt-row-shading');
    this.setAttribute(attributes.ALTERNATE_ROW_SHADING, 'false');
  }
set alternateRowShading ( value ) { if ( IdsStringUtils . stringToBool ( value ) ) { this . setAttribute ( attributes . ALTERNATE_ROW_SHADING , 'true' ) ; this . shadowRoot ?. querySelector ( '.ids-data-grid' ) . classList . add ( 'alt-row-shading' ) ; return ; } this . shadowRoot ?. querySelector ( '.ids-data-grid' ) . classList . remove ( 'alt-row-shading' ) ; this . setAttribute ( attributes . ALTERNATE_ROW_SHADING , 'false' ) ; }
Set a style on every alternate row for better readability.
Set a style on every alternate row for better readability .