I am trying to add a Custom Add Caption and I cannot get either method to work – all I get is a standard Plus sign, no text.
I have tried this method:
$grid[“beforeGrid”] = “function(){ $.jgrid.nav.addtext = ‘Add Detail Record’; }”;
$g->set_options($grid);
And I have tried this method:
<script>
$(document).ready(function(){
$.jgrid.nav.addtext = “Add Detail Record”;
});
</script>
Please let me know if maybe I’m doing something wrong.
Thanks
Mike
2 Answers
Hi,
Apologues for the delay. I’ve verified this case on v2.8 and it’s working as expected.
Demo online: https://www.gridphp.com/demo/demos/master-detail/master-detail.php
Looks like you are using 2.63, I’ll be updating you back after testing on that version.
Your Answer