akveo / akveo/ng2-smart-table

Is it possible to have a column editor list values loaded from API?

Abierto
#233 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
1.6k
Forks
867
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I am trying to get list values for a column via http get/API call, but when I do so by moving the table settings into the component constructor then I get issues with pagination not working.

If I do something like the following with "this.platformsSelect" being populated within the constructor then the list values remain blank after the fact:
`columns: {
platform: {
title: 'Platform',
type: 'text',
editor: {
type: 'list',
config: {
list: this.platformsSelect
}
}
}
}`

Any insight or workarounds?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.