Premium support for our pure JavaScript UI components


Post by gorakh.nath »

Hi team,
Right now on hover it is showing 30 min difference and have following requirement:-

  1. How to show more segment of time difference?
  2. How to show the exact time before dropping the task from grid only while dragging we want to see the time?

sample app: https://www.bryntum.com/examples/scheduler-pro/drag-from-grid/

Attachments
Screenshot 2021-09-16 at 12.57.53 PM.png
Screenshot 2021-09-16 at 12.57.53 PM.png (1.05 MiB) Viewed 704 times
Screenshot 2021-09-16 at 1.02.39 PM.png
Screenshot 2021-09-16 at 1.02.39 PM.png (1.06 MiB) Viewed 704 times

Post by saki »

This is governed by https://bryntum.com/docs/scheduler-pro/#Scheduler/preset/ViewPreset#field-timeResolution You can define your own view presets or you can simply add

    viewPreset : {
        timeResolution : {
            unit:'minute',
            increment: 10
        }
    },

to your scheduler configuration.


Post by gorakh.nath »

@saki thanks, please let us know answer of another query that mentioned above that is How to show the exact time before dropping the task from grid only while dragging we want to see the time? One screenshot already attached for more info.


Post by saki »

We have updated the example https://bryntum.com/examples/scheduler/dragfromgrid/ that now shows the tooltip while dragging with the dates.

Screen Shot 2021-09-16 at 13.19.24.png
Screen Shot 2021-09-16 at 13.19.24.png (103.13 KiB) Viewed 693 times

You can use lib/Drag.js class also in framework-based applications.


Post by gorakh.nath »

Hi @saki, thanks it is working now, one more thing need to fix in tool tip the clock icon is not coming how we can enable? so that it will be consistence between tool tip showing if hover inside scheduler and dragging task from grid.
I attached two screenshot in which one is showing the clock icon on hover inside the calendar and another its not showing clock icon on dragging task form grid.

Attachments
Screenshot 2021-09-21 at 5.57.54 PM.png
Screenshot 2021-09-21 at 5.57.54 PM.png (883.58 KiB) Viewed 664 times
Screenshot 2021-09-21 at 5.56.14 PM.png
Screenshot 2021-09-21 at 5.56.14 PM.png (277.88 KiB) Viewed 664 times
Last edited by gorakh.nath on Wed Sep 22, 2021 9:24 am, edited 1 time in total.

Post by alex.l »

Hi gorakh.nath,

Please follow our forum rule "one thread - one question" and create a new topic for this question.
Thanks.

All the best,
Alex


Post Reply