I’m trying to implement the possibility to add child tasks in the component.
Besides the default properties “start_date”, “end_date”, and “text”, I created 4 more columns.
As you can see in the screenshot attached here, the common tasks work fine with my customized columns.
However, when I click on the plus button to add a child task, it sets “undefined” to my customized columns.
There’s one more thing. This is the newest version available (5.2), I’m testing the inline edit grid feature.
Hello,
I think, I do not fully understand how you create new subtasks. Do you create them from the inline placeholder or you do it the standard way via lightbox? If the latter, do you have #, Status and %s fields in the lightbox? If you don’t fill those fields or you don’t have them at all it in the lightbox, it might be expected behaviour.
Also, there can be several ways how to implement that. So to really understand what happens in your case, please send me a sample of your code. You can do that by modifying the following snippet: snippet.dhtmlx.com/b3e34d9d5
After you see that it reproduces that behaviour click on the “Share” button and post the link here.
I created a demo code of my mistake, you can see my custom column name “test”, when I create a new child row (subtask) inline, my custom column (test) is set “undefined”. The same issue occurs with the last row (placeholder)
Hello,
Thank you for the clarification and the snippet.
Looks like you need to set placeholder values so it will be predefined: snippet.dhtmlx.com/65c0ee8e2
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan