Title: Adding handler in Easyui Desktop Post by: Alfred on July 18, 2018, 08:56:06 PM I am trying to add a handler in the desktop app. But this is not working. Since desktop extension is on top of easyui window, it is not possible to make it work like a dialog as well. For example I tried to add buttons option it is not working.
Code: $('body').desktop({ Please help. Title: Re: Adding handler in Easyui Desktop Post by: stworthy on July 19, 2018, 01:31:09 AM You can define the 'content' property, let it display buttons on the bottom.
Code: <style type="text/css"> Title: Re: Adding handler in Easyui Desktop Post by: Alfred on July 19, 2018, 01:41:45 AM Thanks for quick reply.
Will it be possible to have handler? Please can you give an example. The above example does not work for me. Thanks again Title: Re: Adding handler in Easyui Desktop Post by: stworthy on July 19, 2018, 02:03:10 AM Please look at this example http://code.reloado.com/udonex3/edit#preview
Title: Re: Adding handler in Easyui Desktop Post by: Alfred on July 19, 2018, 03:02:08 AM The problem is that it does not work well with
Code: href: Code: $(this).window('close'); If you can give one, I would highly appreciate. Title: Re: Adding handler in Easyui Desktop Post by: stworthy on July 19, 2018, 05:51:00 PM The toolbar and buttons are added into the desktop window. Please download the newest desktop extension from https://www.jeasyui.com/extension/desktop.php
The example is available from http://code.reloado.com/udonex3/2/edit#html |