esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

Examples are unusable #800

Open luxigo opened 8 years ago

luxigo commented 8 years ago

The examples at http://ng-table.com/#/ looks great, thanks ! ... but they are unusable/obsolete.

We could not understand how to use ng-table looking only at the content of the HTML and JS tabs and filtering and sorting are not working...

Also there's is no link to the definitions of ngTableDemos and ngTableSimpleList (which cannot be found searching in the repository), and syntax changed for the 0.8.3 (eg: single quoting filter property names)

Kinda huge waste of time and energy trying to figure out why (multiply by the number of people trying) :-)

Hope you can fix it soon :-)

Maybe you should display some warning in the meanwhile ?

Thanks again !

For those in the same situation this could help (I'm gonna try now): http://4dev.tech/2015/08/tutorial-basic-datatable-sorting-filtering-and-pagination-with-angularjs-and-ng-table/

wkjesus commented 8 years ago
ccrowhurstram commented 8 years ago

So I wrote those examples.

I had a look at filtering and the two basic sorting and filtering examples and they seem to be working fine. Can you be specific about "filtering and sorting are not working"?

sirius0607 commented 8 years ago

Hi,

I think the problem is that the examples on the web site are about ng-table v1.0.0 alphas and betas. If you use v0.8.X you can't take the examples as is. 'dataset' parameter is not available in v0.8.X for example. You need to define your own 'getData' method to handle the sorting and the filtering instead.

Maybe it miss a link to the old syntax for ng-table v0.8.X and earlier versions to avoid misunderstanding.

ccrowhurstram commented 8 years ago

Yeah I see that’s a problem.

That problem goes away when 1.0.0 is released. It’s just I’ve stalled on that.

That said the latest beta is stable so I would recommend using that version…

From: sirius0607 [mailto:notifications@github.com] Sent: 22 February 2016 13:35 To: esvit/ng-table Cc: Christian Crowhurst Subject: Re: [ng-table] Examples are unusable (#800)

Hi,

I think the problem is that the examples on the web site are about ng-table v1.0.0 alphas and betas. If you use v0.8.X you can't take the examples as is. 'dataset' parameter is not available in v0.8.X for example. You need to define your own 'getData' method to handle the sorting and the filtering instead.

Maybe it miss a link to the old syntax for ng-table v0.8.X and earlier versions to avoid misunderstanding.

— Reply to this email directly or view it on GitHubhttps://github.com/esvit/ng-table/issues/800#issuecomment-187175392.

TioNoob commented 8 years ago

I am having the same problem with the Demo site. If you want to see the demos that were there, just access the link below.

http://codepen.io/collection/XOLQPM/