I never tried but you can try define virtualfields: http://www.web2py.com/book/default/chapter/06?search=virtualfield
and they should appear in jqgrid On Oct 20, 9:35 am, Savio Sabino <[email protected]> wrote: > Thanks this is nice solution. And very thanks for the great > framework. > > And now... How do I add the two fields (deposit and withdraw) that no > store data and be used only in the view? > Must create a virtual copy of this table for and add fields? How? > > Take this opportunity to mention that I am newbie to web2py (I think > it already has to see it) and running of java and .net. > > On Oct 20, 11:18 am, mdipierro <[email protected]> wrote: > > > In model: > > > db.table.field.represent=lambda value:A('click me',_href=value)) > > > and this will be used by jqgrid > > > On Oct 20, 6:41 am, Savio Sabino <[email protected]> wrote: > > > > Hello again. > > > I have a new question. > > > The current way of using jqgrid is with plugin_wiki? Even in the view > > > or controller? > > > > How would I do to implement a grid like this: > > > > Table user > > > > id, name, email, money, deposit, withdraw > > > > The id field must have a link for editing the user. > > > Add and drop fields should launch a modal popup with fields of type > > > "value, reason, date, etc". > > > > My question is how to create columns that have links (<a href="">) and > > > events (onclick) in jqgrid within the controller or view on style > > > web2py? And if it is not asking much, with some fields (deposit and > > > withdraw) containing images? > > > > Should choose to make a simple table or other component for that? > >

