Thanx man! On Nov 16, 2012 12:13 AM, "Richard Vézina" <[email protected]> wrote:
> You have to build your own button to redirect on read, create, update if > you want this behavior... Not sure what could be the best way to implement > that though maybe virtual field should be used to add column to this > purpose... > > Richard > > On Thu, Nov 15, 2012 at 5:11 PM, Richard Vézina < > [email protected]> wrote: > >> Datatables plugins... >> >> But it is not the same and you require to learn it api. The only thing I >> really miss is the "query builder" of SQLFORM.grid. With Datatables you >> have only "AND" no "OR" and you can't specify to filter for particular >> column as far as I know. >> >> Richard >> >> >> On Thu, Nov 15, 2012 at 5:02 PM, Teddy Nyambe <[email protected]>wrote: >> >>> ...so for features like SQLFORM.grid what r u alternatively using? >>> On Nov 15, 2012 10:29 PM, "Richard Vézina" <[email protected]> >>> wrote: >>> >>>> Off course the id is in the URL. >>>> >>>> I wasn't know about showid : false... >>>> >>>> As I wrote I don't know pretty well SQLFORM.grid, I didn't have time to >>>> learn it properly and it was changing constantly, so I postpone migration >>>> the time the api freezed... >>>> >>>> :) >>>> >>>> Richard >>>> >>>> On Thu, Nov 15, 2012 at 3:10 PM, Niphlod <[email protected]> wrote: >>>> >>>>> I meant.... if you don't want to show the id >>>>> step1: there's the "fields" parameter that you can pass to the grid: >>>>> the id is not shown on the main grid >>>>> step 2: Don't show it in the edit form. easy-peasy: editargs={'showid' >>>>> : False} >>>>> >>>>> ..... but the "number" of the id will be shown no matter what, e.g. in >>>>> the URL bar when you modify the record, in the tr id= and so on.... >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> >>>> >>>> >>>> >>> -- >>> >>> >>> >>> >> >> > -- > > > > --

