Hi I am new developer with Web2py so getting problem to work on so please help
I'm using "selectable=True" in the sqlform.grid. This shows a checkbox in first column for all the rows "except the header" and Submit Button i want to get all the Selected check box id on clicking on submit button query = (db.call_log.id > 0) #& (db.call_log.incident_Id !="") field = [db.call_log.call_lat,db.call_log.call_lng,db.call_log.call_status ,db.call_log.call_vip_prank_flag,db.call_log.incident_house_no,db.call_log.incident_street_no ] links = [lambda row: A('Mark as prank',_href=URL("Informercall","Markasprank",args=[row.id])), lambda row: A('Create Incident',_href=URL("Informercall","Incident",args=[row.id]))] form = SQLFORM.grid(query, fields=field, links=links, user_signature=True, deletable=False, editable=False, details=False, selectable = lambda ids: clubCall(ids), field_id=None, csv=False, paginate=20, showbuttontext=False, searchable=False, create=False, oncreate=None, onupdate=None, ondelete=None, formargs={}, createargs={}, editargs={}, viewargs={}, buttons_placement = 'right', links_placement = 'right', ignore_rw = False, ) bevestig = T('Are you sure you want to create incident for selected log?') form.element('.web2py_table input[type=submit]')['_value'] = T('Club Calls') form.element('.web2py_table input[type=submit]')['_onclick'] = "return confirm ('%s')" % bevestig if request.vars['submit']: response.flash='Submit sucess' def clubCall(ids): # in this function i want to get all the Checked value of grid return "Working " -- --- 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.