gantt-task-react icon indicating copy to clipboard operation
gantt-task-react copied to clipboard

Feature Request: need to add image for each task or work item

Open suniltayal opened this issue 2 years ago • 4 comments

Hi @MaTeMaTuK @Janlaywss @VikariiCGI @lisaavikarii ,

Thank you for the contribution.

Is there any way where I can associate an icon with each row item. so basically I want to prefix the icon where image tag is present.

Idea Research Discussion. Developing. etc. Thanks in advance.

suniltayal avatar Jun 28 '22 14:06 suniltayal

Hi @MaTeMaTuK @Janlaywss @hexagonatron @VikariiCGI

Any update on icon rendering with each row item? Please help

Thank you in advance, Sunil

suniltayal avatar Jul 06 '22 05:07 suniltayal

I think you should dive into task-list-table component. You can check there that chevron is being rendered conditionally, so you should check there. If you cannot assign the Icon just with actual task type, you can edit it in types/public-types.ts .

I hope it helped.

maberalc avatar Jul 06 '22 06:07 maberalc

I think you should dive into task-list-table component. You can check there that chevron is being rendered conditionally, so you should check there. If you cannot assign the Icon just with actual task type, you can edit it in types/public-types.ts .

I hope it helped.

Thanks for your reply. Could you please provide working example to render the icon.

suniltayal avatar Jul 06 '22 09:07 suniltayal

I'm sorry but can't now. I haven't got enough free time. I'm working with this library but I'm focusing on other things. If I do it, I'll share here.

maberalc avatar Jul 06 '22 12:07 maberalc