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

Add return data of edit-listen callback(eg:$index,row) #38

Open hanrea opened 8 years ago

hanrea commented 8 years ago

Now, the callback only return $oldValue and $newValue ,it's unhelpful to get one line.

hanrea commented 8 years ago

I can't understand this code for a while, this is a sample to edit table row: https://gist.github.com/hanrea/1b24a7823becee67bb04819c449fb680

ekokotov commented 8 years ago

? in your example you used ng-table

hanrea commented 8 years ago

Hi~I'm not use ng-table, the ng-table="tableParams" tag is forget to delete. sorry~ I'm only use ng-repeat to show table. If it could be return line number or $index it's going to be great