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

281
Vistas
Is there a way to span a column for a single row in a Kendo Grid?

I wanted to find a way to span a column for only 1 row of data in Kendo Grid for Angular. I looked into using kendo-grid-span-column but that seems to do it for every row for the columns specified. I've also looked into using kendoGridFooterTemplate but it doesn't seem like there is support for spanning that quite yet. I've posted a picture of an example below:

Example

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You should be able to accomplish this by manually adding colspan attribute during the data bound event.

See below example for where I use a boolean data field named isSpecial to determine if that row needs to be altered:

function onDataBound(e) {
  var grid = $("#myGrid").data("kendoGrid");

  // Iterate through all the rows
  var rows = grid.items();
  $(rows).each(function (e) {
     var row = this;
     var data = grid.dataItem(row);

     // Check if this row needs to be altered
     if (data.isSpecial) {
        // Set the column span
        $(row).find("td:first-child").attr("colspan", "5");
     }
  });
}
over 4 years ago · Santiago Trujillo Denunciar
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