|
dataBound: args => {
var i;
let columns: any = kanbanObj.columns;
for (i = 0; i < columns.length; i++) {
let headers: any = document.querySelectorAll(".e-header-cells")[i];
headers.classList.add("e-tooltip-text");
}
}, |
Is it possible to show the tooltip while dragging a card? not on hover?
Hi Dexter,
We would like to inform you that the requirement to show the tooltip while dragging the card into the restricted column is not possible. However, if you set allowDrop to false for the column, the cursor restriction symbol will appear, and you will not be able to drop the card in that column. Please refer to the following sample and code for more information:
<KanbanComponent id="kanban" keyField="Status" dataSource={data} cardSettings={{ contentField: "Summary", headerField: "Id", tagsField: 'Tags', grabberField: 'Color', footerCssField: 'ClassName' }}> <ColumnsDirective> <ColumnDirective headerText="To Do" keyField="Open" allowDrop={false}/> </ColumnsDirective> </KanbanComponent> |
Sample : https://stackblitz.com/edit/react-fzwrca?file=index.js
Screenshot:
API Link : https://helpej2.syncfusion.com/react/documentation/api/kanban/columnsModel/#allowdrop
Please let us know if you have any concerns.
Regards,
Vinothkumar