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

235
Vistas
How can I Pin an exported Excel file's header using JavaScript ag-grid?

I am adding some styling to my exported Excel file using ag-grid, I could change font colors, font size... etc I want the excel file's header to be pinned or fixed while scrolling.

I have checked this article: https://ag-grid.com/angular-data-grid/row-pinning/

but it did not help me much.

here is the styling code.

excelStyles: [
       {
          id: 'header',
          alignment: {
            vertical: 'Center',
            horizontal: 'Center',
          },
          interior: {
            color: '#4472C4',
            pattern: 'Solid',
            patternColor: undefined,
            height: 49,
          },
          font: {
            fontName: 'MS Pゴシック',
            // underline: 'Single',
            italic: false,
            color: '#ffffff',
            size: 14
          },
          borders: {
                borderBottom: {
                    color: "#000000", lineStyle: 'Continuous', weight: 3
                },
                borderTop: {
                    color: "#000000", lineStyle: 'Continuous', weight: 3
                }
            },
        },
],
about 4 years ago · Santiago Trujillo
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