views:

103

answers:

7

I need a grid that can be filled using ajax.

I need to sort, filter and select.

Thanks!

A: 

Check out jqGrid - it has all of the features you need and more :)

Justin Ethier
Though jqGrid isn't free, mind you (at least not the CRUD-enhanced version)
Jens Roland
The JavaScript version is 100% free. Now, if you want the PHP or ASP.NET server-side enhanced versions, that will cost you...
Justin Ethier
A: 

As mentioned jqGrid is probably your best bet. If you are wanting to be able to intercept the data before passing to the grid, that's pretty easily done too. by setting datatype to a function, you can manipulate the loading however you like, then push tlo the grid via addJSONData() when you are done frobbing.

If you have some more specific questions, I'd suggest expanding a bit. Also, it looks like you might want to check existing questions and answers here.

Tracker1
Apparently there are issues with addJSONData - see: http://stackoverflow.com/questions/545714/jqgrid-addjsondata-asp-net-2-0-ws - Have you had success using this method?
Justin Ethier
yeah, it's kind of lame, the grid attaches to the html element itself, so you need to dereference it... $("#mygridtable")[0].addJSONData(deserializedObject) .. the question you refer to, it looks like he processed the object, then was trying to objectInstance.replace() on it, instead of looping through any values he wanted to adjust for.
Tracker1
@Justin, but the short answer is, yeah, I've been using it in a recent version without issue.
Tracker1
A: 

The dojox grid is also a good option: Documentation here.

smencer
+1  A: 

The ext grid is rather full featured

http://www.extjs.com/deploy/dev/examples/#sample-3

robert
A: 

I can answer my own question... odd

Yes you can. You can even accept your own answer if you found the solution yourself and none of the other answers were helpful!
Chetan Sastry
A: 

Check out the YUI library.

Nerrve
A: 

dhtmlxgrid is another good option: http://dhtmlx.com/docs/products/dhtmlxGrid/

Inga