Also, how do you make a dialog to show when trying to add a new row?
Thanks.

On Apr 29, 12:43 am, Jean-Denis Girard <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Le 28/04/2011 10:49, Vas a crit :
>
> > and click on it, i just get javascript error: b(":input:visible", a.w)
> > [0] is undefined
>
> This is working fine for me:
>
> grid = MyJqGrid(
>   id='grid', url='fetch', caption=u'Groupes',
>   colNames = [u'Action', u'Nom', u'Description', u'Utilisateurs'],
>   colModel = [
>     { 'sortable': False, 'search': False, 'width': 80,
>       'align': 'center' },
>     { 'name': 'group_name', 'width': 80 },
>     { 'name': 'display_name', 'width': 160 },
>     { 'name': 'users', 'sortable': False, 'search': False,
>       'width': 160 } ],
>   sortname = 'group_name',
>   navbuttons_options = {'view': False, 'edit': False, 'add': True,
>      'del': False, 'search': True, 'refresh': True,
>      'addfunc': js_callback('add'),
>      }
>   )
>  tmpl_context.grid = grid
>
> Thanks,
> - --
> Jean-Denis Girard
>
> SysNux                  Syst mes  Linux  en Polyn sie fran 
> aisehttp://www.sysnux.pf/  T l: +689 50 10 40 / GSM: +689 79 75 27
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAk26QekACgkQuu7Rv+oOo/iZOQCfVOlpk15JKNH/HhkQh3ZoH7gi
> EC8AoKWVdgaOZHZR76OWZiWVcUbEazMp
> =r69l
> -----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to