How 2 implement MultiSelect(checkbox) in dropdown in DHTMLX?


#1

HI ,

I need to implement a multiselect with checkbox in drop down in DHTMLX in .NET.


#2

Hi,

The default multiselect in the lightbox is not really fit for long lists. Is there a way of changing it to a proper multiselect dropdown with checkboxes option:

docs.dhtmlx.com/scheduler/multiselect.html

If I had 30 email addresses aligned vertically it would be too long and having them horizontally looks messy because of the lack of alignment.


#3

Hi ,
I want to ask how i can add multiselect dropdown(with checkboxes) in Lightbox of scheduler.
Please suggest a way because dhtmlx does not provide any control like this.

Thanks
Pavan


#4

Hello,
unfortunately there is no ready solution.
Although, you can implement such control manually. Please check this article, it describes how to create a custom editor for the lightbox
docs.dhtmlx.com/scheduler/custom … ditor.html
or this article if you use ASP.NET edition of the component
scheduler-net.com/docs/lightbox. … r_lightbox

For an internal editor, you can try using dhtmlxCombo or any other third-party component
docs.dhtmlx.com/combo__index.html


#5

how to create a custom editor for multiselect dropdown(with checkbox) in lightbox.
docs.dhtmlx.com/scheduler/custom … ditor.html
i try this but i am not find the solution.
thanks
yogender


#6

Hi ,

I need to implement a multiselect with checkbox in drop down with search filter in DHTMLX in .NET.


#7

Hi @lipikaChakraborty,

There is no built-in dropdown with checkboxes, so you should implement your own or use some third party control.

After creating the custom dropdown, you will have to use its value for filtering, which implements by the filter methods.

The scheduler .net provides two ways of filtering: client-side and server-side, you can read about both of them and choose the most appropriate option for your case:

client-side filtering:
https://docs.dhtmlx.com/scheduler/filtering.html
server-side filtering:
http://scheduler-net.com/docs/filtration.html

Best regards,


#8

Hi,
Currently multiselect is used by clicking checkbox in lightbox. Do you have any example that implemented search for multiselect .


#9

Hi @lipikaChakraborty,

Unfortunately, I don’t have any examples of multiselect filtering, but it should be similar that logic in the following demo:
http://snippet.dhtmlx.com/5/e0dd3b51c

The thing you should change - is to push all selected/unselected checkbox valuest into an array in the doOwnerFiltering function, and use them as filtering conditions, so the filterValue from the demo above, will contain the array of values.


#10

Thanks for the reply, I implemented with help of bootstrap