I have to use a table containing orders data. The table rows are created when there is new order and lines are delete when the order is complete. My question is whether i can create observer to the table. Or alternatively, how can sample a changing in table.
whenever the table data gets changed the attribute 'Changed' of the table object is set to true.
So you can create an observer for this attribute to get notified of any changes.
But you have to set the attribute to false in your observer code, otherwise you will not be notified for further changes, since this attribute then will not change.