Ajax DataGrid Support Product Page
Answered
MM_setTextOfTextfield to pass cell contents
Asked 29 Oct 2012 20:58:52
1
has this question
29 Oct 2012 20:58:52 Brett Power posted:
When using MM_setTextOfTextfield with the datagrid how do take a cell value from the grid and populate into a text field? I've tried this to no avail:
onclick: "controlAjaxDataGrid(document, 'dmx_grid13', 'setFilter', 'custom', 'Lead ID', '=', '{lead_id}');MM_setTextOfTextfield('lead_id','','\{Lead ID\}');"
Also, is there a way to pass information on click into a hidden field?
Replies
Replied 30 Oct 2012 02:02:35
30 Oct 2012 02:02:35 Brett Power replied:
I got standard it to work. The issue was that I could only pass on variable in the oncick routine. I did a mouseup routine and it works fine now.