I see you can add a top caption bar and put a title by using this code:
jQuery('#grid').setCaption("Title");
Is there anyway, if I have already set a title, to remove the caption bar?
I tried this but it just removes the text (doesn't remove the whole caption bar).
jQuery('#grid').setCaption("");
if you want hurry, test
$(".ui-jqgrid-titlebar").hide();
or if you have multiple grids, then only hide titlebar of $("#grid"), then do
$("#gview_grid > .ui-jqgrid-titlebar").hide()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With