openpsa / jsgrid

Fork of last jqGrid version before license change
http://openpsa.github.io/jsgrid/
Other
28 stars 12 forks source link

Adding some grouping demos. #13

Closed meh-uk closed 9 years ago

meh-uk commented 9 years ago

Adding some demo grids for groupings.

flack commented 9 years ago

Thanks for adding some demos!

Unfortunately, as a plain HTML file, this won't get picked up by the build process, i.e. it can't be published to gh-pages this way (and even if it were, it wouldn't contain any navigation or other layout). Could you remodel the demos to look likes this:

https://github.com/openpsa/grid.js/blob/master/docs/content/demos/default.md

You can add them to the side navigation of the demos section by adding them subpages here:

https://github.com/openpsa/grid.js/blob/master/docs/content/demos.md

To test locally, you can run

grunt docs

to build the HTML.

Right now, the demo renderer only supports one grid per page (and the ID must be #grid). I'll try to improve this at some point, but for now, it should be alright, since we don't have many demos yet anyways

meh-uk commented 9 years ago

Well that's why I didn't just commit this ;). I'll look at this again this evening.