DataGrid action
-
Hi,
Is there a way so that an action for a DataGrid can have a popup to enter some text before proceeding, like entering a product id?
Thanks
-
Greetings!!!
Currently, there ain't native way to do that but you can use blade render event to pass some javascript explicitly.
With that javascript you need to inject your required things such as HTML also from script itself.Ways to pass JS:
-
@push('scripts')
//JS code
@endpush -
Use listener to listen event "bagisto.admin.layout.body.after" for admin and "bagisto.shop.layout.body.after" for shop.
Using these events you can pass any blade file with your script and html either or both.
Regards,
Prashant. -