set data(value) {
    if (value && value.constructor === Array) {
      this.datasource.data = value;
      this.#rerender();
      return;
    }
    this.datasource.data = null;
  }
/**
   * Set the data array of the datagrid
   * @param {Array} value The array to use
   */
Set the data array of the datagrid
@param {Array} value The array to use
Set the data array of the datagrid @param { Array } value The array to use
set data(value) {
    if (value && value.constructor === Array) {
      this.datasource.data = value;
      this.#rerender();
      return;
    }
    this.datasource.data = null;
  }
set data ( value ) { if ( value && value . constructor === Array ) { this . datasource . data = value ; this . #rerender ( ) ; return ; } this . datasource . data = null ; }
Set the data array of the datagrid
 @param {Array} value The array to use
Set the data array of the datagrid @param { Array } value The array to use