Hi Sir!
Please, send me the code of toolbar demo program (in live demo).
Thank you!
Fabio
5 Answers
Your code works, but when I insert it in my code the new toolbar button doesn't appear.
I tryed with grid_onload and didn't work tool.
Some tip?
Thanks!
Try placing the script tag of toolbar button code after echo $out;
<div style="margin:10px">
<?php echo $out?>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#list1').jqGrid('navButtonAdd', '#list1_pager',
{
…
});
});
</script>
Yes, Sir! Now it works!
Why your code works with jquery code before echo $out and my code no?
Thank you!
Your Answer