-
Notifications
You must be signed in to change notification settings - Fork 4
Home
allen13 edited this page Sep 14, 2010
·
3 revisions
About a year ago I started working with hobo and really liked what I saw. I could do some amazing things really fast. The only piece that felt like it was missing something was the table-plus tag. So I started working on an alternative and decided to start from the well known jqGrid widget. I went on to install every rails jqGrid plugin in existance and found that none of them were quite what I wanted. In the end I create my own basic rails plugin.
The main features of my incarnation of the jqGrid plugin are:
- Uses a rails model directly instead of the limiting auto-detect method
- Uses a randomly generated id name so you can put as many grids of the same or different types as you want on the same page
- Direct editing of the jqGrid properties through hash properties e.g. :title => “Title”
- Easy to edit default jqGrid properties (plan to take it a step further and implement them as yaml later)
- Uses the # symbol as the first character to identify a function property (I implemented the ondblclickrow property this way)
- Double clicking on rows and anything else that is possible with the jqGrid widget…