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

asked 2019-06-11 23:15:22 +0800

fjrosado gravatar image fjrosado
51 1

updated 2019-06-14 11:48:28 +0800

cor3000 gravatar image cor3000
5364 2 7
ZK Team


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')}"
         mold="paging" model="@bind(vm.resultado)" rows="@load(vm.pageSize)"
         selectedItems="@bind(vm.listaSolSeleccionadas)" multiple="true" checkmark="true">




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

Are there any solution for this or prevent it?

Thank you in advance

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2019-06-14 12:11:19 +0800

cor3000 gravatar image cor3000
5364 2 7
ZK Team

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).

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2019-06-11 23:15:22 +0800

Seen: 6 times

Last updated: Jun 14 '19

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More