Thanks! I think this is a great start for people to see how to create their
own renderer, even if it's not included in the final release. I appreciate
you sharing the code with us!
Now if someone could just come up with a renderer that allows buttons in a
cell AND the button click works, I would be a happy camper. I have tried the
previous solutions that were posted for doing hotlinks in a cell, but I
could never get the click event to work. I was able to place a button in a
cell, but still the click event does not get fired.
Thanks again for sharing!
Jim
On 2/8/07, MootCycle <[EMAIL PROTECTED]> wrote:
I've created two classes that I'd like to submit to the project, assuming
they've been coded correctly.
The first is a simple data cell renderer that can handle any PNG image
rather than just the boolean true/not true. It is a pretty simple class
and
I don't think there are any problems with it. The second class is a
conditional data cell renderer which I created by overriding
updateDataCellElement() and adding formatting in there. I'm not sure if
this
is the accepted way of formatting cells, but it worked for me. The
formatting is dynamic and should update as the data in the cells is
changed.
If you would like to see a working example of the code, please go here:
http://www.evil-lemur.com/qooxdoo/sample/html/example/Table_3.html
If you would like to see the code as it stands now, take a look here:
http://www.evil-lemur.com/qooxdoo/code/
Since the updateDataCellElement() only calls for active cells, I have had
good performance results with tables over 10,000 records in size. The
conditional module currently supports basic numerical comparisons,
between,
!between, and regex. I have noticed that adding and removing a column
removes the cell formatting until you scroll or make a change to the
cells.
I would appreciate any comments.
Thanks,
-Dan
--
View this message in context:
http://www.nabble.com/New-classes%3A-ImageDataCellRenderer-and-ConditionalDataCellRenderer-tf3195213.html#a8871788
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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