Massimo, thank you for your fast reply.
unfortunately with setGridParm I get the same behavior. What are your "best practice" to edit a record using jqgrid for selection? Thank you and thank you again for you work. Massimiliano On Wed, Jul 21, 2010 at 1:59 PM, mdipierro <[email protected]> wrote: > The jQuery(...).jqGrid is already called by the plugin. You cannot > call it twice. I think you can use > > jQuery(...).setGridParam({...}) > > to change grid parameters. > > On Jul 21, 6:39 am, Massimiliano <[email protected]> wrote: > > Hi, > > > > I'm trying to play with cube2py, is amazing. > > > > I've a little problem with the jqgrid plugin, problem that didn't appears > > using jqgrid standalone (declaring the grid in template and using json to > > retrieve the data). > > > > When I try to set an event, for example ondblClickRow, the grid's row > > disappears. > > > > `` > > name: jqgrid > > table: friends > > _id: friends > > col_widths: 1,400 > > fields: id,name > > col_width: 80 > > width: 400 > > height: 300 > > ``:widget > > > > `` > > <script> > > jQuery("#jqgrid_friends").jqGrid({ ondblClickRow : function(rowid){ > > alert(rowid); } } ); > > </script> > > ``:template > > > > The grid become like this one < > http://yfrog.com/08schermata20100721a12165j>: > > > > Has someone found a solution for that? > > > > Thank you > > -- > > Massimiliano > -- Massimiliano

