akveo / akveo/ng2-smart-table

Table does not load data until until I hover over something

Abierto
#898 7 comentarios 2 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

Here is a video showing the problem:
![smarttable](https://user-images.githubusercontent.com/31655968/47992545-78998c80-e0ed-11e8-998c-a3bfe406ba74.gif)

Table won't load data if I don't hover over menu on the left. Data is fetched correctly.
Strange behaviour right?
Removing spinner does not help. Here are my settings, and the way I'm fetching data:

```
TABLE_SETTINGS_SUBJECT = {
add: {
addButtonContent: '',
createButtonContent: '',
cancelButtonContent: '',
confirmCreate: true
},
edit: {
editButtonContent: '',
saveButtonContent: '',
cancelButtonContent: '',
confirmSave: true
},
actions: {
delete: false
},
columns: {
id: {
title: 'ID',
editable: false,
creatable: false
},
name: {
title: 'Name'
}
}
};
```

Data fetching:
```
this._subject.getAllSubjects().subscribe((data: ISubject[]) => {
this.subjects = data;
this.dataSource.load(this.subjects);
this.dataSource.reset();
this.data_loading = false;
},

```
Using latest ng2 smart table version, with ng2 completer and rxjs-compat for resolving issues with deprecation

Any suggestions?

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.