Jump to content


How to grocery-crud grid reload without refreshing page

refresh grid auto

  • Please log in to reply
1 reply to this topic

#1 patelharsh371

patelharsh371

    Newbie

  • Members
  • Pip
  • 1 posts

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!

 

 



#2 oktakurniawan

oktakurniawan

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 03 October 2017 - 10: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







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users