I saw that on the SQLFORM.grid signature, thanks, I' now left with the *"# records found"* message on the right and the bottom *"Export:"* label at the bottom without the exportclasses
On Sunday, February 16, 2020 at 2:18:57 AM UTC+2, Christian Varas wrote: > > i’m quite sure that exist a switch like “searchable=False” to disable the > search field. > Usually I get this error when the attribute on sqlform that I’m trying to > modified does not exist, maybe check the correct Index of the list. > > > Cheers. > > El El sáb, 15 de feb. de 2020 a la(s) 17:13, mostwanted < > godir...@gmail.com <javascript:>> escribió: > >> 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 web...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/web2py/001f952f-9839-483c-af11-9534c403f731%40googlegroups.com >> >> <https://groups.google.com/d/msgid/web2py/001f952f-9839-483c-af11-9534c403f731%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/d11e7683-9f58-42fd-b586-9e973d8fa0e4%40googlegroups.com.