Our state of the art Gantt chart


Post by Bhava »

Hi ,
In a datefield I have used a datetime picker, the selected date and time is not showing on the displayfield .I also tried in Bryntum example. I have attached the code and screenshot below .

{
               
type: "datefield", weight: 160, label: "From Date & Time", cls: "fromdate", picker : { type : "datetimefield" }, editor:{ editable : true, }
Attachments
datetimepicker.PNG
datetimepicker.PNG (27.54 KiB) Viewed 314 times

Post by alex.l »

Hi, this won't work that way, a picker is an instance of Popup class, but you placed one field into another.
Just use https://bryntum.com/docs/gantt/#Core/widget/DateTimeField as a regular field.

All the best,
Alex


Post by Bhava »

Hi Alex,
In our example we want a date and time picker in same calendar , I have attached the screenshot below. What can be done for this ?

Attachments
datetimefield.PNG
datetimefield.PNG (7.12 KiB) Viewed 312 times

Post by alex.l »

We do not have DateTime picker now that may be used in the date field, but you can use https://bryntum.com/docs/gantt/#Core/widget/DateTimeField
that will allow you to pick date and time.

{  
type: "datetimefield", weight: 160, label: "From Date & Time", cls: "fromdate" }

All the best,
Alex


Post Reply