Hi,
I have a TreeGrid with a button as recordComponent.
I have set dragDataAction: "copy"
After I drag the record, the new node shows up fine, but for some reason, the button duplicates (see attachment).
Please advice.
Thanks!
I have a TreeGrid with a button as recordComponent.
Code:
createRecordComponent: function(record, columnIndex) { if (this.assignmentModule != null) { return; } if (this.getFieldName(columnIndex) === 'status_code' && !record.treegrid_group_node) { return isc.IButton.create({ _grid: this, height: 26, layoutAlign: 'center', title: I18N.enums.item_status[record.status_code], width: 118, click: function() { this._grid.openActivitiesPopup(record); } }); } }
After I drag the record, the new node shows up fine, but for some reason, the button duplicates (see attachment).
Please advice.
Thanks!
Comment