ekokotov / object-table

Angular directive to easy create dynamic tables from source or URL with sorting, filtering and pagination. Smart templates and good perfomance
BSD 3-Clause "New" or "Revised" License
171 stars 52 forks source link

Trigger a function after updating model #27

Closed OpsRJ closed 8 years ago

OpsRJ commented 8 years ago

I would like to have a possibility to trigger a function after model updating. Would be nice to have it.

ekokotov commented 8 years ago

Do you need something like: <table object-table class="hover-column" data="data" headers="Age, full Name" fields="age,name" sorting="compound" editable="true" on-edit="logChange($oldValue, $newValue)" search="separate" resize="true" drag-columns="true"></table> ?

ekokotov commented 8 years ago

on-edit="logChange($oldValue, $newValue)"

OpsRJ commented 8 years ago

Yes or just a possibility to call a custom function. On Jan 22, 2016 11:53, "Evgeny Kokotov" notifications@github.com wrote:

on-edit="logChange($oldValue, $newValue)"

— Reply to this email directly or view it on GitHub https://github.com/ekokotov/object-table/issues/27#issuecomment-173926636 .

ekokotov commented 8 years ago

Implemented. Please visit samples to details. Let me know if you will have any question.

ekokotov commented 8 years ago

update to new version

OpsRJ commented 8 years ago

Thank you very much :)