I have made a report widget for a simple web-based order system. The report widget lists the latest orders with options to confirm or change delivery times as well as rejecting an order. I would like for the report widget to update when a new order arrives in the DB. Is there any way to get that working? How would I go about it?
In addition, I would like the widget to update only the info needed. As it is now I have to use a return::redirect to backend/backend in order to get an update on the page after a user clicks a button to instantiate an action.
Hope I make sense here, and hope someone has a good solution for me...
A lot of views but no reactions... Got this fixed?
as in frontend, you have just to add this in ajax request handler:
$this->vars['var 1'] = val1; // update there variables you need to inject to (_myParial.htm) return [ '#parialID' => $this->makePartial('myPartial') ];
and in widget default view, you have to add: '
1-3 of 3