Reputation: 2534
I have two grids, where I defined drag and drop plugin like this:
plugins: {
ptype: 'gridviewdragdrop',
dragGroup: 'secondGridDDGroup',
dropGroup: 'firstGridDDGroup'
},
now, when I drag an item from one grid to another I see text "1 selected row" - how can I change this text?
Upvotes: 4
Views: 1053
Reputation: 223
It is possible to set it dynamically using the onNodeOver event and something like:
dd.proxy.update("<span>Custom HTML here</span>");
Make sure you include a HTML tag as update() method calls setStyle.
See http://docs.sencha.com/extjs/6.0.1/classic/Ext.dd.StatusProxy.html#method-update
Upvotes: 1