Sheduller and DB

Not quite sure what do you mean , but you can use API of grid, like getSelectedRowId to get current selection in grid. To call such method you need to have reference to grid’s object, the id of DIV will not help.