# problem with double click in listbox multiple=true, checkmark=true

51 1

Hello,

I have a problem with my listbox. ZK 8.5.0 and mvvm.

My listbox is multiple=true, checkmark=true. When we have two or more rows, works fine, but when we have only one row in the listbox, the doble click event no works appropiately. It seems that you must do double click a lot of times to execute the event.

My code is:

<listbox id="listado" emptyMessage="\${c:l('lista.vacia')}"

...

...

<template name="model">
<listitem context="editGrid" onDoubleClick="@command('editarSolicitud')" >
<listcell />
...


Are there any solution for this or prevent it?

delete retag edit

cor3000
4546 2 7

I tried your example based on your description (single row) See: http://zkfiddle.org/sample/1sp70c1/1-single-row-double-click

For me every double click registers as expected. Can you please check, and add what's missing to reproduce the problem you encounter?

E.g. update and save the zkfiddle provided above, and post the updated link here (I increased your karma, so you can post links in this forum).

[hide preview]