Topic: How to use $Ajax->activate

So, as far as I know, $Ajax->activate is used to update part of the content with content from ajax.
I have seen this is used mainly when filtering or searching like customer and supplier is happening.
Usually I use _page_body because what I understand is it will update the entire page content via ajax.
My question is, can I use other id? I tried to use $Ajax->activate with other table id or div id and it failed. Since then I always use _page_body. How this work? Can I use other element id to be updated via ajax and not entire page?

Re: How to use $Ajax->activate


try to put the table inside an div using div_start('id_to_update') and div_end() method

then update the div, it may work

Experience is the name everyone gives to their mistakes!