views:

643

answers:

1

I want to create a property grid like this: http://extjs.com/deploy/dev/examples/grid/property-grid.html

However I don't want to use extjs, and am using jQuery instead. What plugin would most easily enable to me create a propertygrid?

jqGrid is the only one that I know of right now. http://www.trirand.com/blog/

I am not interested in loading data from XML file or database, I should be able to set data from objects on the page.

Thanks

Edit: I just realized that there is another plugin with the same name: http://jqframework.com/jqgrid/

Ohh namespacing fail.

+3  A: 

jqGrid has support for creating a grid from local JavaScript objects or from a table tag embedded in the page (via tableToGrid).

Here are the general docs for jqGrid. The array info is under Loading Data.

Hank Gay
Thanks a lot, do you think jqGrid is the best solution? What the its pros and cons vs other plugins?
Jourkey
I've only used jqGrid for a short time. I've sometimes had problems figuring out how to get it to solve my problem (the docs aren't written the way I think, I guess), but it's been very slick once I figure out a given feature, and the integration with jQuery UI themes is nice. The biggest pro I've found is that it provides most of the features I want, e.g., inline editing and progressive enhancement. Most of the others I looked at only had one or the other.
Hank Gay