wmira / react-datatable

Datatable component written using react view framework
https://github.com/wmira/react-datatable
MIT License
56 stars 8 forks source link

Update event mechanism such that we can play nicely with Flux arch #16

Open wmira opened 9 years ago

wmira commented 9 years ago

update datasource event mechanism so we can play nicely with any flux architecture based apps

bebraw commented 9 years ago

Take in count that if you are operating an API and use pagination, you'll need to hit the API each time column sort is applied (unless there is only one page). It would be enough if you had a callback for sorting like this:

In addition I would need a trigger for edit. Something like the following could work: