Copy link to clipboard
Copied
Our company recently upgraded from CF9 to CF 2016 and after doing so we have a CFGRID that only displays the left hand paging button/arrow. All the other toolbar buttons are missing.
I have searched and searched and cannot find the reason for this. I don't appear to be getting any script errors. Does anybody know what might be causing this?
Turns out it was a CSS problem. When had a .table class in our stylesheet that for some reason broke the CFGRID after the upgrade. Once I removed that the toolbar buttons reappeared.
Copy link to clipboard
Copied
Could you show us the code for the grid? In any case, see whether something like this helps:
<script type="text/javascript">
var showBottomToolbar = function(id){
ColdFusion.Grid.showBottomToolbar(id);
}
</script>
<body onload="showBottomToolbar('gridName')">
<!--- contents of page go here --->
</body>
Copy link to clipboard
Copied
Turns out it was a CSS problem. When had a .table class in our stylesheet that for some reason broke the CFGRID after the upgrade. Once I removed that the toolbar buttons reappeared.
Copy link to clipboard
Copied
Thanks for sharing.