What about if I don't use 'callback' but 'href' so it loads the whole page.
I still can't get the quantity value to be passed as an arg.
On Saturday, 26 November 2016 14:35:33 UTC+1, Anthony wrote:
>
> On Friday, November 25, 2016 at 11:11:41 PM UTC-5, Paul Ellis wrote:
>>
>> Hi,
>> I am trying t
On Friday, November 25, 2016 at 11:11:41 PM UTC-5, Paul Ellis wrote:
>
> Hi,
> I am trying to do the same thing as the OP. Add a quantity input field to
> a grid and then use Callback to work with the product_id and quantity. I
> just don't seem to be able to pass the quantity to the callback fun
Hi,
I am trying to do the same thing as the OP. Add a quantity input field to a
grid and then use Callback to work with the product_id and quantity. I just
don't seem to be able to pass the quantity to the callback function.
Using this method I don't get a value from quantity.
Hello Massimo,
May I use this SQLFORM.grid capability to create a bulk or batch insert
feature?
I am having problem with form validation and update of record actually. I
try to update a record for now :
Controller :
def grid_into_form():
grid = SQLFORM.grid(db.tab1,
_class="web2py_gr
Great!
Thanks
Richard
On Fri, Apr 13, 2012 at 7:33 PM, greenpoise wrote:
> Richard,
> you know what? maybe it does what you want actually because what I get is
> a bunch of records with a txt and one submit button at the end. So,
> basically a grid within a form. I will write it and run it aga
Richard,
you know what? maybe it does what you want actually because what I get is a
bunch of records with a txt and one submit button at the end. So, basically
a grid within a form. I will write it and run it again and send you a
screenshot.
D
On Friday, 13 April 2012 12:36:29 UTC-7, Rich
Yes I think I miss understood... What I would have is the capability to
insert many records in one operation (one form submission). I thought that
what Massimo suggest turn the SQLFORM.grid in a kind of multiples rows form
or something like that. It was not actually clear what Massimo was doing
wha
Richard,
I tried Massimos approach but it created one form button rather than one
for each row. For my uses, it wont cut it. I need one text field plus a
button on each row. I was able to accomplish this like this
links = [lambda row: INPUT(_name='qty', _value='1'), lambda row: A('+',
callback=
Hello Danel,
May I see screenshot of what Massimo propose?
I mean I would be really interrested in a bulk entry capability too.
If it is already available I would know I was about to make a custom
mechanism to allow user to add many result at the same time that would rely
on Excel and validate_a
9 matches
Mail list logo