'dblclick' event on gui-list-view


#1

Hello.

I have ‘gui-list-view’ for users list, just use .on(‘dblclick’) or .on(‘click’) this is not work.

 this._find('users').on('dblclick', function() {
      console.log('test');
      this._find('Statusbar').set('value', 'Test');
    });

#2

Use activate instead of dblclick and select instead of click.


#3

Thanks man, this work


#4

Glad to hear, and to be of help :slight_smile:


#5

To avoid opening a new topic.

How do to launch an application with arguments, in another app ?


#6

If you’re on v2.1 it’s Process.create('ApplicationName', {arg: 'here'}) and on v2.0 its the same, but API.launch() instead.

If you’re still on 2.0, I’d suggest looking into upgrading. You can find an article about that here in the announcements.


#7

Ref: https://api.os-js.org/client/class/javascript/core/process.js~Process.html#static-method-create


#8

Thanks, this is nice project i love it