code

Questionscode
Fabio Martins asked 11 years ago

Hi Sir!

Please, send me the code of toolbar demo program (in live demo).

Thank you!
Fabio

5 Answers
Abu Ghufran answered 11 years ago

Emailed.

Fabio Martins answered 11 years ago

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!

Abu Ghufran answered 11 years ago

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>

Fabio Martins answered 11 years ago

Yes, Sir! Now it works!
Why your code works with jquery code before echo $out and my code no?
Thank you!

Raina answered 11 years ago

Hi Abu,
Can you email me too?

Thank you!

Your Answer

17 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?