jsgantt-improved icon indicating copy to clipboard operation
jsgantt-improved copied to clipboard

Allow adding inline task items

Open vigneshbarani24 opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Firstly, Thanks for this awesome library, it would be great if it is possible to allow adding task items inline to a row. Describe the solution you'd like A clear and concise description of what you want to happen. An Additional Column with a + icon with an click event that can trigger a row add immediately next to it by its row ID, so a task item can be added instantly Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

DHTMLX and Jquery gantt are the two solutions i considered, I'm with Angular 6. DHTMLX is GPL and JQuery Gantt is hard to refactor into Angular. Which is why i chose to use your library for my project

Additional context Add any other context or screenshots about the feature request here. image

vigneshbarani24 avatar Apr 08 '19 05:04 vigneshbarani24

Great idea!

mariohmol avatar Apr 08 '19 10:04 mariohmol

Hi, nice idea Vbboi24. I think a more general approach to implement this new feature would be helpful to solve a broader range of issues. I was thinking about being able to add a custom column with on-click events to the library so that you could put an icon in the column and add a custom function that triggers on the click of it. For example to add a new task, delete a task or maybe to open a task overview in a dialog or in a new window etc... This could give the library a lot of customization options.

andreabonadei avatar May 20 '19 08:05 andreabonadei

we can achieve this manually right? like have a button outside the gantt where you can add columns or rows in the data array, and re-render the gantt..

but would be nice to have this builtin..

mariohmol avatar Jul 05 '19 22:07 mariohmol

I did a initial work for this.. he creates the column with the add button.. now needs to properly insert in tasklist and redraw

mariohmol avatar Aug 05 '19 17:08 mariohmol