Title: qooxdoo » Demo
That's great! Thank you very much. I have the same situation as you with
the only difference that our firm has already decided
to use qooxdoo for the web applications and eg. i have to found the way
to style the rows in the table individually. Ie. your solution is a
great help. I also would like to see this solution as a part of table
widget, so i don't have to patch it everytime a new version comes. Is
it possible?
Thank you and Til for your great work!
Sorry. There were some bugs in my example.
Here is the corrected now working example:
Dietrich Streifert schrieb:
Til Schneider schrieb:
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.
BTW: What is the fastest rendering model? Divs and nodeValue? Divs and
arrayJoin?
The right cell rendering strategy is not yet found. In my opinion cell
rendering is still too slow. I have to do some more tests and tweaking
around with the different strategies to get the whole stuff faster.
So this is not yet very stable and the rendering API may also change. It
depends on how the fastest implementation works.
You can create a patch for this, but I can't promise that this solution
will still work in the "final" Table implementation.
Are currently working on the table stuff? How far is the "final" table
implementation away? Please give us a (even vague) timeframe for the
future work on qx.ui.table.
Or maybe you can give us a short intro where you see potential
performance gains and what you are planing to work out here.
As I understood it is maybe not worth currently creating patches for
the qx.ui.table. So I provide here an example which contains the
patching of qx.ui.table to achieve the functionality. Maybe you
consider adopting this in the future. And others seeking for a solution
can use it as needed.
The example is intended to be run in the generated
frontend/demo/source/html/test directory. Maybe someone adds it to svn
if appropriate.
I'm currently under hard pressure on creating a web application which
uses a table like qx.ui.table so I have to make some decisions soon.
Maybe you can give some informations which are helpfull in deciding
which path to go.
Thanks allot Til for your work.
Best regards....
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
Individual Row Rendering for Table.
-------------------------------------------------------------------------
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
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
qooxdoo » Demo
Individual Row Rendering for Table. Not really nice ;-)
-------------------------------------------------------------------------
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