Jump to content

ADD, EDIT or READ without SHOW the GRID?

  • Please log in to reply
2 replies to this topic

#1 wildfandango



  • Members
  • PipPip
  • 24 posts

Posted 05 November 2017 - 11:32 AM

Hi, all
Sometimes I had to make direct calls to the ADD, EDIT or READ functions:
When the operation is finished, it returns to the GRID view ...
Is it possible to make a call of this type and at the end of the operation ADD, EDIT, READ does not show the GRID?
ex: jump to another page, close the window, etc ...
thx in advance


#2 larasmith


    Advanced Member

  • Members
  • PipPipPip
  • 199 posts
  • LocationPhilippines

Posted 06 November 2017 - 01:19 AM

Consider using the following:


After adding: https://www.groceryc...backAfterInsert


After updating: https://www.groceryc...backAfterUpdate


I'm not sure about the READ if you can do such. I haven't tried that one yet.


Happy GCing!  ;)  :)  :D

#3 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 06 November 2017 - 05:18 AM

Nice 1 Laura,


well .. i remember it very well in the community edition, ppl did find a hack around to deal with this situation.. but still i believe there is a way to deal with it..

If you want to bypass the grid, you can check for the state .. if the state is for listing, you can just redirect the page to wherever you want to. That way - you can still bypass the gridview.


Hope this solves your issue / query. 

Happy GCing :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users