Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

isc.Window - attach a double-click event handler to title

$
0
0
Hi,

using your (isc.Window.create...) example on: http://www.smartclient.com/docs/9.0/a/system/reference/SmartClient_Explorer.html#windowHeaderControls - how would I go about attaching a double-click event-handler to the Window title?

The requirement is to eventually, on double-click, do an inline DOM replacement with a text-input (or modal, or something similar), allowing the user to rename the window.
I've tried a few different approaches, such as using an isc.Label as the title & trying jquery dblclick after wrapping the title in span tags, but nothing seems to work.

We're currently using the following version for development: SNAPSHOT_v9.1d_2013-11-15/Enterprise Deployment (2013-11-15) on Chromium 18.0.1004.0.

Any workable advice would be greatly appreciated.

Viewing all articles
Browse latest Browse all 4756

Trending Articles