rowId = undefined

314 views
Skip to first unread message

CM

unread,
Mar 5, 2013, 10:51:31 AM3/5/13
to jquer...@googlegroups.com
Hi, 

I'm using jquery gantt to add tasks dynamically, but when I use 

onAddClick: function(dt, rowId) {

and rowId is undefined.

I just need some reference to know where to add the new task (sprint id for example),



Any idea? 

Thanks.


maxime.l...@gmail.com

unread,
May 13, 2013, 2:57:32 PM5/13/13
to jquer...@googlegroups.com
Same exacte issue here! Can't find out. Did you find your problem?

Thanks,

Кирилл Акулов

unread,
Aug 1, 2013, 12:50:48 PM8/1/13
to jquer...@googlegroups.com
I've found a solution. 

Selected with bold the right place for id property. At least that worked for me.


source: [
{
name: "Awesome Car",
desc: "Really Awesome",
id: "myAwesomeID",
values: [
{
from: "/Date(1320192000000)/",
to: "/Date(1322401600000)/",
label: "",
customClass: "ganttRed"
},
{
from: "/Date(1322611200000)/",
to: "/Date(1323302400000)/",
label: "",
customClass: "ganttGreen"
}
]
},
{
 ...
]


Reply all
Reply to author
Forward
0 new messages