Hello, Is it possible to have dummy columns in a grid without seeing them in the search field selection?
Something like this (see the fields and headers arguments): grid = SQLFORM.grid( (db.wo.pies_verified == False) & (db.wo.is_active == True), _class='web2py_grid_list_tags_to_issue', create=False, csv=False, deletable=False, details=False, editable=False, fields=[db.wo.product_name, db.wo.sn, db.wo.opts_names, dummy1, dummy2, dummy3, dummy4], headers={'dummy1': ' ' * 10 + T('Chamber') + ' ' * 10, 'dummy2': ' ' * 10 + T('Chamber date') + ' ' * 10, 'dummy3': ' ' * 10 + T('VG') + ' ' * 10, 'dummy4': ' ' * 10 + T('VG date') + ' ' * 10, }, maxtextlengths={'wo.opts_names': GRID_COL_LEN_FOR_TEXT}, orderby=db.wo.product_name, paginate=0, # represent_none='', # Grid and view form only. ) The objective is to have something like the attached image. I have a kludge in place using some unwanted fields, but that has a problem when the user selects the search. It shows the fields I'm using for the dummy columns. If I hide them (readable=False) they disappear from the grid. What I want to know is if there is another solution, or if I can hide the fields from the search but still see them in the grid. Thanks, [image: Example.png] JM -- 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. For more options, visit https://groups.google.com/d/optout.