ignn
April 26, 2018, 9:18am
#1
Hello! Can i get text from LightBox Checkbox to the EventBox?
For Example, this example docs.dhtmlx.com/scheduler/sampl … ction.html have 1 checkbox in LightBox with text “https://docs.dhtmlx.com/scheduler/samples/02_customization/13_single_checkbox_section.html ”. I want that whet i clicked checkbox and save - eventbox get text from this checkbox.
This is possible? Thank you!
ignn
April 26, 2018, 9:51am
#2
Polina
April 26, 2018, 3:09pm
#3
Hi.
Yes, you should set scheduler.locale.labels.section_checkme value as event.text. Please see example how to implement it:
docs.dhtmlx.com/scheduler/snippet/0e0f7444
ignn
April 26, 2018, 3:09pm
#4
Thanks you!
Polina, what about multiselect for this task? My snippet - docs.dhtmlx.com/scheduler/snippet/4a56853a
I need get labels of multiselect checkbox’s, but i get only key numbers… How get labels? Thank you advance
Polina
April 27, 2018, 8:53am
#5
You can get label value in array based on key. Go through the array with for cycle and compare key in users array and selected keys in the lightbox.
if(key == users[i].key)
docs.dhtmlx.com/scheduler/snippet/40392171