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

124
Vistas
Telerik Grid arbitrary fields

I need to be albe to edit multiple values in a grid

Say

"Type" is a combo "Size" is a float "Name" is a string

I need "Type", "Size", "Name" in the first column; and in the second I need a dropdown (Type), then a numeric editor (Size) and finally a text editor for the "Name".

I try to implement something similar to that

enter image description here

having heterogenous data in a column, so, impossible to have a template for the elements of the column

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

0

It is enough to supply editors for cells that correspond to the field names that you have. For instance, if you have "Type", the Name of the DropDownList has to be "Type".

 @(Html.Kendo().DropDownList()
    .Name("Type")
    // other options
)

You could specify all of the needed editors in separate cshtml files inside the EditorTemplates folder and reference them via the EditorTemplateName option of the column:

columns.Bound(e => e.FieldName).EditorTemplateName("<<editor name goes here>>");

The grid will take care of the binding part. For the complex ones, you might have to specify "data-bind" attributes.

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