Title: Combogrid select item with double click instead of single click Post by: jahangir on January 29, 2019, 10:48:11 PM Is it posible to select item from combogrid with double click on row instead of single click.
Title: Re: Combogrid select item with double click instead of single click Post by: jarry on January 30, 2019, 02:12:00 AM You can't do that but you can custom your combo component. Please refer to this code:
Code: var cc = $('#cc').combo({ Title: Re: Combogrid select item with double click instead of single click Post by: jahangir on January 30, 2019, 02:55:22 AM Thank's jarry it works.
Title: Re: Combogrid select item with double click instead of single click Post by: jahangir on January 30, 2019, 05:09:42 AM I am facing a problem, when i add a toolbar to datagrid which includes textboxes i can't select the textbox.
Please see the below image and code. (https://i.ibb.co/sPS7L0m/combo.png) Code:
Code:
Title: Re: Combogrid select item with double click instead of single click Post by: jarry on January 30, 2019, 07:07:34 AM Please disable the 'mousedown' event handler.
Code: var cc = $('#cc').combo({ Title: Re: Combogrid select item with double click instead of single click Post by: jahangir on January 30, 2019, 10:16:35 PM Hi Jarry!
Thanks this solved the problem. One last minor issue combobox dropdown panel border width is doubled. I use following css to solve this issue, but it removes the border from all comboboxes is there any way to remove the panel border from only a specific combobox. Code:
Title: Re: Combogrid select item with double click instead of single click Post by: jahangir on January 31, 2019, 04:04:12 AM Solved the border issue with this code.
Code: $('#cc').combo('panel').css('border','none'); |