jQuery - Integrate jqGrid with slide preview

I need to integrate jqGrid with a slide preview and i’m a bit lost. I want to pass the id(database pk) from field by url and show diretcly on slide. But the grid has a button to show row on slide too.

The slide need to work too without clicking on table.

What’s the best solution? Is this possible?

I already tried some solutions without success