I've come across two promising tutorials
which refers to Dan Vega's posts
both of which I have consulted and tried their code. In neither case does the toolbar appear.
I have the correct path in CF 9 to the toolbar.js
and their code
grid = ColdFusion.Grid.getGridObject("ArtistGrid");
var gridFoot = grid.getView().getFooterPanel(true);
var gridHead = grid.getView().getHeaderPanel(true);
var bbar = new Ext.Toolbar(gridFoot);
var tbar = new Ext.Toolbar(gridHead);
bbar.add(new Ext.Toolbar.TextItem('Total Artists: ' + grid.getDataSource().totalLength));
text:"Add New Artist",
I've tried this on three different CF 9 Servers, and the tabs do not appear.
Now these posts are a few years old by now and refer to CF 8. It looks as though CF 9 doesn't support the toolbar. Is this correct?
And if so, is there some replacement for it?
The CFGRID looks really great, and I did get it to sort and actually edit rows(though I'm not sure how I did that), but not delete
or insert. If I could get the full functionality to work, this could be very valuable.