How do I set the text of the submit button when selectable is used in the
grid?

I have tried:

form = SQLFORM.grid(query, fields = fields,
                            create = False,
                            orderby = db.akb_articles.title, maxtextlength
= 180,
                            editable = False, deletable = False,
                            selectable = lambda ids: skrap_artikels(ids),
                            details = False,
                            links = links,
                            ui = 'jquery-ui')
form.submit_button = T('Delete selected articles')

but the last line was ignored.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to