sorry for the mess, this is the right link. I have to stop doing patchs manually ;/
http://www.speedyshare.com/files/26373627/plugin_wiki_jqgrid_colnames_bug.patch On Jan 20, 12:36 pm, blackthorne <[email protected]> wrote: > Sorry, that link is wrong. > This is the > one:http://www.speedyshare.com/files/26373484/plugin_wiki_jqgrid_colnames... > > On Jan 20, 12:31 pm, blackthorne <[email protected]> wrote: > > > > > Concerning my question, this is a bug. > > > Here is the > > patch:http://www.speedyshare.com/files/26373386/plugin_wiki_jqgrid_colnames... > > apply it to /application/models/plugin_wiki.py > > > the keyword to define jqgrid header names is now "colnames" and it's a > > list of strings, such as: > > colnames: dogs,cats,mouses > > > Best regards > > > On Jan 19, 5:03 pm, blackthorne <[email protected]> wrote: > > > > The way you define the column names in the Jqgrid plugin is done, > > > according to the book, with the "columns" attribute is a list of > > > columns names to be displayed. However, in the plugin_wiki widget > > > builder interface that is done with the attribute "colnames". > > > In the code plugin_wiki controller, the used word seems to be > > > "columns" as well. > > > > That said, I also couldn't make it with columns: > > > > `` > > > name: jqgrid > > > table: plugin_wiki_page > > > fields: id,slug,description > > > columns: title,slug,description > > > width: 500 > > > col_width: [100,80,320] > > > height: 300 > > > ``:widget > > > > Failed with: > > > traceback: > > > TypeError: jqgrid() got an unexpected keyword argument 'columns' > > > > Then I tried "colnames": > > > And I got a dialog window with the message: > > > "Length of colNames <> colModel!"

