Hide button for show list of MultiColumnCombobox

2 Answers 269 Views
MultiColumnComboBox
Baxing
Top achievements
Rank 1
Iron
Iron
Iron
Baxing asked on 21 Aug 2021, 05:25 PM

Hello

I want to hide right button of MultiColumnCombobox(Please see in attach image). It's similar to autocomplete, but uses the property of multi-column of table data.

How to do this?

Thank you

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 25 Aug 2021, 12:21 PM

Hello, Baxing,

A possible approach would be to use JS to hide the parent of the arrow icon. Here is a small example for reference.

Let me know how that works for you.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Baxing
Top achievements
Rank 1
Iron
Iron
Iron
answered on 25 Aug 2021, 02:20 PM | edited on 25 Aug 2021, 02:32 PM

Hello Martin,

For

$(".k-i-arrow-60-down").parent().hide();

It's work if we have only one MultiColumnCombox or in case hide button on every MultiColumnComboxs, but if I want to hide arrow button at some MultiColumnCombooxs ( not all ) . How to set for hide button for specific id. of the MultiColumnCombox.

And in my case the arrrow was hidden but if I hover mouse to top of button, it still hover color (see on attach image). How to hide it too?

Thank you

Martin
Telerik team
commented on 30 Aug 2021, 10:58 AM

You can hide the arrow for a specific MultiColumnComboBox using its ID using the snippet below:

$("#multicolumncombobox").parent().find(".k-select").hide();

Here is the modified example for reference. As for the hover issue, you can see that the behavior does not occur in the shared example. It probably happens because you are hiding only the k-i-arrow-60-down element. But you also need to hide the span that contains it.

Baxing
Top achievements
Rank 1
Iron
Iron
Iron
commented on 30 Aug 2021, 01:38 PM

Thank you

Now, I can hide specific of MultiColumnCombobox already from your advice. But for case the mouse hover still show grey backgroud at right button. But it's ok 

Martin
Telerik team
commented on 02 Sep 2021, 08:31 AM

Could you please modify my example to reproduce the problem? As you can see, hovering where the button should be does not reproduce the grey background.
Tags
MultiColumnComboBox
Asked by
Baxing
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Martin
Telerik team
Baxing
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or