Discuss issues related to v3.x

Post by hostelsystem »

Hello,

We are building a grid in which user should be able to select empty cells and used cells per date, not per date range. Can you please advise us how to achieve it? See examples below:

1. Selecting cells:

a. Hold Left mouse button and drag: http://screencast.com/t/jB3GMnhI
b. CTRL + mouse select: http://screencast.com/t/PA2aEhlk4Vwx

2. Selecting particular dates in one existing object.
This is an object in our Scheduler: http://screencast.com/t/H4d0DgPU

a. Select only particular dates and extract them: http://screencast.com/t/2hgztjiMdzi
b. Second example: http://screencast.com/t/Fi5PMH8fLUXr

Thank you for your help

Post by Maxim Gorkovsky »

Hello.
You can try cellplugin, intriduced in this example. By default it supports only multiple selection using CTRL, but you can extend it to match your needs.

Post by hostelsystem »

Is this the only solution which comes to mind?

Post by Maxim Gorkovsky »

What is the problem with this solution? What solution are you thinking of?

Post by hostelsystem »

How can I achieve this:

"2. Selecting particular dates in one existing object.
This is an object in our Scheduler: http://screencast.com/t/H4d0DgPU

a. Select only particular dates and extract them: http://screencast.com/t/2hgztjiMdzi
b. Second example: http://screencast.com/t/Fi5PMH8fLUXr"

Thank you.

Post by mats »

Those 2 are just multi-select - this is already supported. Please try it out here: http://www.bryntum.com/examples/schedul ... /tree.html

Post by hostelsystem »

Thank you but this is not the same. This allows selecting multiple events, whereas in the example I gave you I have one event which consists more than one night (or hour as in the example here: http://screencast.com/t/Z0BiavY90c0T ) and I need to find the way how to select only a part of the event, respectively e.g. one night: http://screencast.com/t/kSLPTjzZK9 and be able to move it extract it, etc.

Post by Maxim Gorkovsky »

We do not support cutting time from events. I think you should change your approach: instead of one event that lasts few hours, you'd have few events (one per hour) and probably you can wrap them into smth that looks like event. I don't see how that can be a problem in examples you showed us - you have cells with some data, you can have such cells in scheduler too.
To make such events work like parts of one big event you can, for example, disable drag on them and make them read-only. You can try this approach on example Mats gave you link to.

Post by kevinvdheuvel »

HI I am using bryntum-scheduler v5-1-13, got an issue in selecting multiple cells at a time using cntrl key.
I am selecting all the cells by using cntrl and scrolling down. while scrolling down previous selected cells are getting de selected. is there any issue here ?


Post by mats »

@kevin Please post in the correct forums.


Locked