⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to grocery-crud grid reload without refreshing page



patelharsh371
  • profile picture
  • Member

Posted 12 June 2016 - 10:44 AM

I am new in grocery-crud,

I have no idea how to reload grocery-crud grid without refreshing page.

Currently i have relaod all page in ajax

$.ajax({
  type:'POST',
  url: "<?php echo base_url() ?>user/user_function/"+dash_id,
  success: function(responses) {
    location.reload();
  }

});

 

 

Any ideas what I need to do to make this work ? Thanks!

 

 


oktakurniawan
  • profile picture
  • Member

Posted 03 October 2017 - 22:11 PM

$.ajax({
  type:'POST',
  url: "<?php echo base_url() ?>user/user_function/"+dash_id,
  success: function(responses) {
    //location.reload();
 $('.gc-refresh').trigger('click');
  }
});

hope this help