Is it possible to retrieve the original ID of the table or input on which the grid is created ?
For example:
HTML
<input id='studentSearch' class='personSearch' searchType='student'/>
<input id='teacherSearch' class='personSearch' searchType='teacher'/>
......
JAVASCRIPT
jQuery('.personSearch').combogrid('grid').datagrid({onSelect: function(rowIndex, rowData){
var calledById = ....?
var searchType = ....?