⚠ 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

Ajax list not refreshing



gavin1211
  • profile picture
  • Member

Posted 21 March 2012 - 22:20 PM

Hi, I have ran into a problem of my list table not refreshing on deleting rows. Getting a javascript errors, in attached screenshot. Sorry, but does anyone have any advice, experience with similar problem?

Many thanks.

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 25 March 2012 - 23:43 PM

I can't see the error. Try to run it with the firebug on firefox. I need a print-screen like this:[attachment=84:2012-03-26_004141.png] to understand.

Have you read the known issues just to make sure - http://www.grocerycrud.com/documentation/known-issues ?

cwagehoft
  • profile picture
  • Member

Posted 27 March 2012 - 05:20 AM

I am having similar problems with ajax_list_info. I am getting a 500 error for some reason. The table will render properly but I cannot add, update or delete.

Any ideas?

I have attached screenshots from Firebug as requested previously.

Thanks

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 March 2012 - 21:41 PM

And again... have you read the known issues? http://www.grocerycrud.com/documentation/known-issues . It is probably that you have the [color=#2C575B][font=Arial, Tahoma, Helvetica, sans-serif]csrf_protection = TRUE[/font][/color]

jcasanova
  • profile picture
  • Member

Posted 13 April 2012 - 13:11 PM

Hi, I'm having the same problem... with ajax_list at the moment to load the page...

I inspected with firebug... and the reason is that is trying to use orderby = "column_name" and that column name doesn't exist in that table
this is the post data sent to ajax_list

order_by[0]=id_trafo
order_by[1]=asc
page=1
per_page=10
search_field=
search_text=
as you can see "id trafo" i did not give as $crud->order_by("id_trafo"), actually I gave other column....


[b]INFO ADDED[/b]
PROBLEM FIXED
/topic/295-ajax-list-500-error-sort-problem/