get_display() to get content (grid) body
On top of display() which output directly the grid. For ease of integration with other system, get_display() will return the html code of the grid to be output as part of a rendered page.
Similarly, get_header() to output the html code for <link> and <script>.
get_display() is now available. Please see documentation page for details.
-
CK Ng commented
just like jqGrid have in their jqSuite
renderGrid( [string $tblelement = ''], [string $pager = ''], [boolean $script = true], [ $summary = null], [ $params = null], [boolean $createtbl = false], [boolean $createpg = false], [boolean $echo = true] )
boolean $script: if set to true add a script tag before constructin the grid.
boolean $echo: if set to false the function return the string representing the gridso
display([boolean $script = true], [boolean $echo = true]) -
CK Ng commented
(the tags was hidden)
... get_header() to output the html code for link and script tags.