another questions... how can manage parameters in function call ? details={'detailscallback':URL('myfunction.load')} )
i want to have my row id in myfunction On 4 Feb, 09:28, ceriox <cer...@gmail.com> wrote: > oh ok... > but how i can associate a function link to the button? > > @virtualsettings(label=T('Small Picture')) > def smallpicture(self): > picture = > IMG(_src=URL('default','download',args=self.products.picture), > _border='0', > _height='30px', > _width=None, > _alt=T('A small picture for %s' % self.products.name), > _title=T('This is the category small picture')) > return picture > > _URL='myfunction' ?? > > On 4 Feb, 09:15, Kenneth Lundström <kenneth.t.lundst...@gmail.com> > wrote: > > > > > > > > > It should not be a problem, you need to create more virtual fields. > > > If you look athttp://powertable.blouweb.com/productsandThe Code, > > starting from row 8 you see how a new virtualfield is created. > > > Kenneth > > > > i re-download the plugin from bitbucket and now it work > > > (powertable.blouweb.com is not update!) > > > > but now i have another little problem... > > > when i "open" the details of a record i see the logo of my > > > template ... how i can personalize the interface of the details? > > > > and a new question... > > > i can have 2 or more "green plus" button ... i want to make one button > > > for deatils one for edit... one for duplicate record (and if it is > > > possible with another button icon) > > > > On 4 Feb, 08:51, ceriox<cer...@gmail.com> wrote: > > >> Kenneth -> i just copy the code from a powertable example app > > >> (web2py.app.skrywer_powertable.w2p) now i try to delete ".load" > > > >> Bruno Rocha -> i download it yesterday from your > > >> websitehttp://powertable.blouweb.com/, now i try to re-download the > > >> plugin > > >> from bitbucket > > > >> thanks for help! > > > >> Bruno Rocha -> there is a guide with all the powertable parameters ?