Hello Abu. I saw the example in ../demos/master-detail/subgrid.php and subgrid_detail.php and i coludn´t undestand why in subgrid_detail.php you use
…
jQuery('#<?php echo $g->id?>').jqGrid('navButtonAdd', '#<?php echo $g->id?>_pager',
…
instead of something like
…
jQuery('#aperturas').jqGrid('navButtonAdd', '#aperturas_pager',
…
The case is that i want to put a custom button in the toolbar of the subgrid and my code does not show the button.
I put my code in pastebin:
Master-Grid —> http://pastebin.com/gP97pvL8
Sub-Grid ——> http://pastebin.com/fQ8veiUq
Can you help me?.
Hello Abu.
I forgot I had this question. Of course it's silly . There are many subgrillas and how to identify it is through his relation id
jQuery ('# < ? Php echo $ g- > id ? >' ) . JqGrid ( ' navButtonAdd ' '# < ? Php echo $ g – > id > _ pager ' ?
I worked late and sleep played a trick on me .