A bit confused..I thought SQLFORM.grid was itself a form? Also, can I add 
more than one link per grid? Reading from the book, it creates a column so 
technically sounds as if I could???

On Wednesday, 11 April 2012 16:27:17 UTC-7, Massimo Di Pierro wrote:
>
> You can put the grid in a form and you add 
>
> SQLFORM.grid(..., link=[lambda row: INTPUT(...)])
>
> On Wednesday, 11 April 2012 17:07:58 UTC-5, greenpoise wrote:
>>
>> Is this possible?? I have a products table that shows all the products. I 
>> also created an add to cart button in it problem is if I want to add 100 
>> items I would have to press the button 100 times.  Is there a way to add a 
>> quantity text field???
>>
>>
>> Thanks
>>
>> Dan
>>
>
On Wednesday, 11 April 2012 16:27:17 UTC-7, Massimo Di Pierro wrote:
>
> You can put the grid in a form and you add 
>
> SQLFORM.grid(..., link=[lambda row: INTPUT(...)])
>
> On Wednesday, 11 April 2012 17:07:58 UTC-5, greenpoise wrote:
>>
>> Is this possible?? I have a products table that shows all the products. I 
>> also created an add to cart button in it problem is if I want to add 100 
>> items I would have to press the button 100 times.  Is there a way to add a 
>> quantity text field???
>>
>>
>> Thanks
>>
>> Dan
>>
>

Reply via email to