Multiple Viewes

Hi there and congratulate for an excellent piece of software.

I am strugling a bit with units view,

What I am trying to do is to have two viewes lets say Unit_1 and Unit_2 with diferent items on the columns lets say Unit_1 has Section_A_1 and Section_B_1 and Unit_2 has Section_A_2 and Section_B_2 and Section_C_2 (all come from tables within mysql eg types_1 and types_2).

When we are on Unit_1 view the editor to come up with a list contaning only Section_A_1 and Section_B_1 and when changing to Unit_2 view the editor list to contain only Section_A_2 and Section_B_2 and Section_C_2 items. Of course when on the week view to have the editor list containing all the items eg Section_A_1 and Section_B_1 and Section_A_2 and Section_B_2 and Section_C_2.

is that possible ?

Yes it is possible :slight_smile: partially at least :slight_smile:

two viewes with a single list off all the items.

Depending on the column seleted the list is initialised correctly to the item.

Still though I do not know if it can have the list items changed according to the views.

Excellent program people :slight_smile:

You will need to have at least two lists - if you want to have different set of columns for different unit views ( technically it possible to use a single list, but it will require a complex event handling system , which will reset such list during view changing )

Use createUnitsView with different lists , but with the same “property”, so values will be mapped to the same property of event

In lightbox you can have a single select, and to show only necessary options you can redefine scheduler.form_blocks.select.set_value , by adding logic which will load only necessary options in list ( or create a custom form block )
docs.dhtmlx.com/doku.php?id=dhtm … om_editors

Thank you for your responce, that was my implemenation as well.

Excellent piece of software.