Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

120
Vistas
call AG grid cell rendered with parameter

I am assigning a class to a JavaScript object. Is there any way to call this class with parameters? I did try using the below-mentioned way, but it keeps giving the error "e is not a constructor "

 multiselectEditor:class {
        constructor(attribute) {
        this.attribute:attribute

        }
      
        init(params) {
         
        }
        getGui() {
          return this.container;
        }
        afterGuiAttached() {
        
        }
      
        getValue() {
         
          return this.container.value;
        }
        destroy() {}
      
        isPopup() {
          return true;
        }
     },

This is how I am setting the grid-column definition

  { headerName: 'Licencing', valueGetter: this.set_attribute("pr_licencing"),width:"120px",valueSetter: this.get_attribute_free_text("pr_licencing"),cellEditor: new this. multiselectEditor("our prams"),editable:true},
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda