Folks,

I have this little problem: A table where different rows need
different cell renderers ... I am thinking about writing a
meta-cell renderer with the following interface


var mr = new nq.metaCellRenderer()

mr.addRenderer(new qx.ui.table.CellRenderer.Date(),function(cellInfo){
              if (cellInfo.rowData[0] == null){
                 return true;
              }
              else {
                return false;
              }
});

mr.addRenderer(new qx.ui.table.CellRenderer.Number(),function(cellInfo){
              if (cellInfo.rowData[0] == 22 && cellInfo.value = 33 ){
                 return true;
              }
              else {
                return false;
              }
});

this does not exist yet, right ?

cheer
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to