Hi,

Thanks for this wonderful module :-)

I'm using drupal 5.5

When I open the "admin/help/ajaxtable_docs" page, it's look great and work well,
but when I copy-paste the first default sample to a new page/story i created,
or even if I copy-paste directly to the page.tpl.php it loaded well but after firing an event like
clicking the search button, it's seems like the callback is making the whole grid empty, except the grid header.

Attached before and after click pics

Thanks,
Amihai

CommentFileSizeAuthor
after-click.JPG49.49 KBamihai.a
before-click.JPG82.21 KBamihai.a

Comments

amihai.a’s picture

I gust notice that there is an Issue that look similar, though i did't get an empty page,
Issue: http://drupal.org/node/217327

Sorry if I duplicate by mistake..

Amihai

amihai.a’s picture

I now realized that I have to create my own module,
add the function from the sample(ajaxtable_table_uniqname) to the module
and on the callback function add the table to the content string ,
$page_content = ajaxtable_render("ajaxtable_uniqname");

As for now it's will do for me..
but it would be great if we could add it from the node/edit too..

Amihai

wookie05’s picture

Status: Active » Fixed

I might have found solution to this problem.

It's a bit brute but :) it does work.

Try to add "ajaxtable_table_uniqname" function definition to "node.module" file which You will find inf /modules/node/ directory

Then You'll be able to print correctly working table in page/story/book content with

print ajaxtable_render("uniqname")

function.

wookie05

amihai.a’s picture

thanks, i'll try it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.