Yes, you can pass a list of the tables you want to display through the linked_tables parameter.

grid = SQLFORM.smartgrid(db.customer, linked_tables=['note', 'order'])

Then it will only include buttons for the tables you've listed.

    -Jim

On 12/20/2011 7:08 PM, Adi wrote:
is it possible to remove some of the related tables' buttons?

No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2012.0.1890 / Virus Database: 2109/4693 - Release Date: 12/20/11


Reply via email to