[Seaside] JQGrid Events

Milan Mimica milan.mimica at gmail.com
Wed Sep 7 20:09:54 UTC 2011


You have to expand the Smalltalk side of JQgrid with events you want
to use. It's not much work.
For example, I have added this to JQgrid class for 'gridComplete' event:
gridComplete: aFunction
	self optionAt: 'gridComplete' put: aFunction

Then you call:
html table
    script: ((html jQuery this grid)
            ...
            gridComplete: 'var blah; ... ' asFunction;
            ...
        ).


On 3 September 2011 05:11, Robert Sirois <watchlala at hotmail.com> wrote:
> How do I add an event to my grid?
> There's a list
> here: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events.
> There doesn't seem to be an easy way to associate a callback with a cell /
> row like WATableReport.
> RS
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Milan Mimica
http://sparklet.sf.net


More information about the seaside mailing list