Dietrich Streifert schrieb:
Til Schneider schrieb:
I have a question regarding Tils great Table widget: How can I customize
the appearance of the "cell has focus style"?
There is an appearance entry called "table-data-cell" which seems to be
intended to handle the appearance (among others) of the "cell has focus
style" with the 3 pixel blue border. I want to disable the extra focus
styling of the current cell.
The name of the appearance is "table-focus-indicator". The focus
indiator is managed by the TablePaneScroller class. You may make it
invisible, but you will need it, when you have editable cells.
OK that worked. I've overwritten the "table-focus-indicator" and now
the cell does noch show the 3px blue border anymore.
Thank you.
There are currently different strategies implemented about how the table
cells are created (see demos Table_1.html to Table_4.html). This was
nessesary for finding the fastest implementation. The appearance
"table-data-cell" is only used by the strategy that uses qooxdoo Widgets
for the table cells.
In the current revision of namespace branch Sebastion removed this
appearance (table-data-cell).
I saw the previous messages about the lack of individual row rendering
in qx.ui.table. I worked out a solution which I'm asking if it is worth
creating a patch:
1) Make the tablePane accessible through qx.ui.table.Table (eg. through
getTablePane(metacolumn))
2) Isolate the color and backgroundcolor style assignments to the row
elements into a method (ie. _rowStyleFunction). This will currently
just work for qx.ui.table.TablePane.USE_ARRAY_JOIN == false.
3) Make this function setable through ie.
table.Pane.setRowStyleFunction by creating a property named
rowStyleFunction of type function.
4) Create a function which has the following format:
function(rowElem,cellInfo,tableModel) {
}
Now you can style the rows depending on row values etc.
What do you think about that.
That's great. Really. Many of us need a possibility of "simple"
changing row style in the Table(especially row background color). It is
certainly worth to create a patch. Thx.
BTW:
What is the fastest rendering model? Divs and nodeValue? Divs and
arrayJoin?
Thank you for your time and patience.
Best regards...
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel