Hi Jim, So I created a default new app and put in the following code, in model I have:
db.define_table('Config_Table', Field('myid'), Field('Part_Number'), Field('MAC_WAN'), Field('MAC_LAN'), Field('RF_Connector'), Field('Config')) in controller I have: @auth.requires_login() def Config(): form=SQLFORM.smartgrid(db.Config_Table, searchable='False', deletable='False', editable='True', create='False', buttons_placement='left') return dict(form=form) when I tried it in view, the "add", "delete" buttons were still showing up. My web2py version is 2.3.2 On Wednesday, February 13, 2013 3:13:44 PM UTC-8, Jim S wrote: > > That is definitely correct and works for me. Can you show some code? > What version of web2py? > > -Jim > > On Wednesday, February 13, 2013 4:59:51 PM UTC-6, Jack wrote: >> >> Hi all, >> >> Just a simple but annoying problem. I am trying to configure the >> smartgrid so that the particular smartgrid does not have the ability to >> create and delete records. >> From my understanding this can be done by setting deletable='False' and >> create='False' when I make the smartgrid. However this does not seem to be >> the case as after I've sat those values to 'False' they are still there. >> Just wondering if anyone has encountered a similiar problem before. >> > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.