rwjblue / pivot.js

Build Pivot Tables from CSV/JSON Data
http://rwjblue.github.com/pivot.js/
Other
783 stars 134 forks source link

jquery_pivot.js not working #11

Closed Offirmo closed 11 years ago

Offirmo commented 11 years ago

I can't make the jquery plugin work.

In fact, the "simple_example.html" doesn't work at all on my machine : Screen_20130405-18h18_401

I have the latest firefox and I also tested on IE 8 : same result.

I made sure resources were available (jQuery) and the js console reports no error.

Can anyone confirm please ?

rwjblue commented 11 years ago

Did you select (check) a few fields to show (by default no fields are selected).

What specific version of Firefox are you using (possibly not related)?

Both the demo and the simple example seem to be working properly (checking from my iPhone):

Navigate to: http://rjackson.github.io/pivot.js/simple_example.html

Check a couple of 'Row Label' checkboxes.

You should see data...

Sent from my iPhone

On Apr 5, 2013, at 12:53 PM, offirmo notifications@github.com wrote:

I can't make the jquery plugin work.

In fact, the "simple_example.html" doesn't work at all on my machine :

I have the latest firefox and I also tested on IE 8 : same result.

I made sure resources were available (jQuery) and the js console reports no error.

Can anyone confirm please ?

— Reply to this email directly or view it on GitHub.

Offirmo commented 11 years ago

Ah yes, if I check labels I see some data.

But is it expected to be so ugly ? Why doesn't it looks like the main demo (http://rjackson.github.io/pivot.js/) at all ?

At first glance it looked broken to me...

rwjblue commented 11 years ago

The simple_example.html is just meant to be a completely bare bones example of how to use the library.

If you want to see how the main demo page works take a look at index.html.

Sent from my iPhone

On Apr 5, 2013, at 6:05 PM, offirmo notifications@github.com wrote:

Ah yes, if I check labels I see some data.

But is it expected to be so ugly ? Why doesn't it looks like the main demo (http://rjackson.github.io/pivot.js/) at all ?

At first glance it looked broken to me...

— Reply to this email directly or view it on GitHub.

rwjblue commented 11 years ago

Confirmed as working, so I'm closing this item. Please let me know if you have any more issues...

Offirmo commented 11 years ago

So the issue was the fact that the "simple" example is so simple that it's misleading ^^ (I even debugged pivot to figure out what wasn't working !) Once I master pivot.js, I'll submit some more examples. Thanks again for sharing your great work !