I am facing a little challenge here, I was able to remove some fields as I wanted from the SQLFORM.grid because I just wanted to use it Edit field alone & so i wanted it alone to be visible.
grid = SQLFORM.grid(db.professionalsummary.posted_by==user.id, editable=True , deletable=False, user_signature=True,create=False, details=False, exportclasses=dict(export=False, xml=False, html=False, json=False, csv= False, tsv=False, tsv_with_hidden_cols=False, csv_with_hidden_cols=False)) grid[0][1][0][0] = ' ' #remove search field #grid[0][1][0][1] = '' #remove search button grid[0][1][0][2] = '' #remove clear button .............. .............. But now when I click on the edit button for the field I want to edit I get an error: <type 'exceptions.IndexError'> list index out of range Whats causing this error & how can I fix it?? Regards; Mostwanted -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/001f952f-9839-483c-af11-9534c403f731%40googlegroups.com.