custom task type sample

Hi,
2.1 samples
samples/04_customization/12_custom_task_type.html

  1. Type Change
  2. Click save.
  3. error…

how can I be saved ??? :neutral_face: :neutral_face: :neutral_face:

Hi,
what is the complete version of your component, is it 2.1.0 or 2.1.1 ?
You can check it by typing gantt.version
in browser console
The saving seems working in the version 3.0 (although, free version of gantt 3.0 does not included tasks types functionality, it is available only in commercial version), so probably it should work in 2.1.1 correctly
docs.dhtmlx.com/gantt/samples/04 … _type.html

If you have 2.1.1 and it still not works - please attach a sample of html page

Thanks for your reply.

gantt chart version : 2.1.1

sample of html page :

[code]

Custom task type html, body{ height:100%; padding:0px; margin:0px; overflow: hidden;} .meeting_task{ border:2px solid #BFC518; color:#6ba8e3; background: #F2F67E; } .meeting_task .gantt_task_progress{ background:#D9DF29; }
[/code]

Hi,
please post the error message, or attach a complete demo (with all required js/css)

I’ve tried to reproduce the error on version 3.0 and 2.1.1 (from here github.com/DHTMLX/gantt/tree/v2.1.1 ), but without success.

It’s working fine in our targeted browsers except for IE9

script errors in IE9 :

SCRIPT16389
dhtmlxgantt.js, line 178
(e&&t.select&&t.select(),

I fixed it
gantt chart version
dhtmlxgantt_v2.1.1_gpl -> dhtmlxGantt_v2.1.1_140821

Thank you for your help.