I hope you can help me. I can't find any information about my topic neither in the jqGrid documentation, nor in stackoverflow.
I would like to add a free information layer as shown in the "How it works" section in the jqGrid Documentation.

Thanks in advance for your help!


Question: How to retrieve datetime from database in Drupal?
Answer: The code below works for me for fetching a group, so you can quickly adapt it for your own purpose. 

$query = db_select('og')
    -&gt;fields('og', array('etid'))
    -&gt;condition('gid', $gid,'=');
$results = $query-&gt;execute();

$result = $results-&gt;fetchAssoc();