*http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A
%20%22function%2520createRandomRows(rowCount)%2520%257B%250A
%2520%2520var%2520rowData%2520%253D%2520%255B%255D%253B%250A
%2520%2520var%2520now%2520%253D%2520new%2520Date().getTime()
%253B%250A%2520%2520var%2520dateRange%2520%253D%2520400%2520
*%252024%2520*%252060%2520*%252060%2520*%25201000%253B%2520%
252F%252F%2520400%2520days%250A%2520%2520var%2520nextId%2520
%253D%25200%253B%250A%2520%2520for%2520(var%2520row%2520%253
D%25200%253B%2520row%2520%253C%2520rowCount%253B%2520row%252
B%252B)%2520%257B%250A%2520%2520%2520%2520var%2520date%2520%
253D%2520new%2520Date(now%2520%252B%2520Math.random()%2520*%
2520dateRange%2520-%2520dateRange%2520%252F%25202)%253B%250A
%2520%2520%2520%2520rowData.push(%255B%2520nextId%252B%252B%
252C%2520Math.random()%2520*%252010000%252C%2520date%252C%25
20(Math.random()%2520%253E%25200.5)%2520%255D)%253B%250A%252
0%2520%257D%250A%2520%2520return%2520rowData%253B%250A%257D%
250A%250A%250A%252F%252F%2520window%250Avar%2520win%2520%253
D%2520new%2520qx.ui.window.Window(%2522Table%2522).set(%257B
%250A%2520%2520layout%2520%253A%2520new%2520qx.ui.layout.Gro
w()%252C%250A%2520%2520allowClose%253A%2520false%252C%250A%2
520%2520allowMinimize%253A%2520false%252C%250A%2520%2520cont
entPadding%253A%25200%250A%257D)%253B%250Athis.getRoot().add
(win)%253B%250Awin.moveTo(30%252C%252040)%253B%250Awin.open(
)%253B%250A%250A%252F%252F%2520table%2520model%250Avar%2520t
ableModel%2520%253D%2520new%2520qx.ui.table.model.Simple()%2
53B%250AtableModel.setColumns(%255B%2520%2522ID%2522%252C%25
20%2522A%2520number%2522%252C%2520%2522A%2520date%2522%252C%
2520%2522Boolean%2522%2520%255D)%253B%250AtableModel.setData
(createRandomRows(1000))%253B%250A%250A%252F%252F%2520make%2
520second%2520column%2520editable%250AtableModel.setColumnEd
itable(1%252C%2520true)%253B%250A%250A%252F%252F%2520table%2
50Avar%2520table%2520%253D%2520new%2520qx.ui.table.Table(tab
leModel).set(%257B%250A%2520%2520decorator%253A%2520null%250
A%257D)%253B%250Awin.add(table)%253B%250A%250A%250A%250A%250
A%250A%2520%2520%2509%2509%2509table.addListener(%2522cellDb
lclick%2522%252C%2520function(e)%2520%257B%2509%250A%2509%25
09%2509%2509%2509alert(%2522double%2520click%2522)%253B%2509
%2509%250A%2509%2509%2509%2509%2509%257D%252C%2520this)%253B
%250A%2509%2509%2509%2509%2509%250A%2509%2509%2509%2509table
.addListener(%2522cellClick%2522%252C%2520function(e)%2520%2
57B%2509%250A%2509%2509%2509%2509%2509alert(%2522click%2522)
%253B%2509%2509%250A%2509%2509%2509%2509%2509%257D%252C%2520
this)%253B%2509%2509%2509%2509%250A%2509%2509%2509%2509%250A
%2509%2509%2509%2509table.getSelectionModel().addListener(%2
522changeSelection%2522%252C%2520function(e)%2520%257B%2509%
2509%2509%2509%2509%2509%2509%2509%2509%2509%2520%2520%2509%
2509%2509%2509%2509%2509%2509%2509%2509%2509%2509%2509%2520%
2520%250A%2509%2509%2509%2509%2509alert(%2522change%2520sele
ction%2522)%253B%250A%2509%2509%2509%2509%2509%257D%252C%252
0this)%253B%250A%250A%250A%250A%250A%250Avar%2520tcm%2520%25
3D%2520table.getTableColumnModel()%253B%250A%250A%252F%252F%
2520Display%2520a%2520checkbox%2520in%2520column%25203%250At
cm.setDataCellRenderer(3%252C%2520new%2520qx.ui.table.cellre
nderer.Boolean())%253B%250A%250A%252F%252F%2520use%2520a%252
0different%2520header%2520renderer%250Atcm.setHeaderCellRend
erer(2%252C%2520new%2520qx.ui.table.headerrenderer.Icon(%252
2icon%252F16%252Fapps%252Foffice-calendar.png%2522%252C%2520
%2522A%2520date%2522))%253B%22%7D
*
Hi,
I am not sure I understand, can you provide a demo of your situation in the
playground?
you can start from the table example that exists already:
http://demo.qooxdoo.org/current/playground/#Table
cheers,
Gabi
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/DoubleClick-and-click-together-tp6876943p6879871.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel