• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

DataGrid action

Knowledge Base
2
2
440
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lwilliams-heli last edited by 9 Sept 2019, 11:11

    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

    1 Reply Last reply Reply Quote 0
    • B
      bagisto-mogul Banned last edited by 12 Sept 2019, 07:34

      @lwilliams-heli

      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:

      1. @push('scripts')
        //JS code
        @endpush

      2. 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.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post