Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Extra model attributes for a table data source from API

$
0
0

@Joshua_Jenkins wrote:

I’m using ember-models-table which takes in a model as the data source for the table.

The model is being updated live with a websocket.

I have extra attributes I want to add for the table which are not in the model and are queried from a separate database. How can I add these to the data source? I’d like to update this at a regular interval, perhaps with run.later.

I currently have a custom component for these columns but doing this disables any table sorting/filtering and it forces me to query each cell separately.

I thought to make a copy of the model but then I would lose the websocket pushPayLoad functionality.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles