Hello Gaetan, hello Fabian, thanks again for your replies. I am afraid i could not integrate Geatans patches because i am using the downloaded SDK and not the svn-checkout of qooxdoo and have no possibility to change my development environment at the moment because i am already after my schedule...
Does the NumberFormat really affect all columns? I think, there should be a way to give different columns different formats... My table contains some monetary values, some percentages and an id-Column and i think this is absolutely a standard case. So please give me another hint how to do this - i bit of code would be highly appreciated because i am new to qooxdoo (and js / ajax in general). Thanks! Kind regards, -- Andreas Tepper Softwareentwicklung Animationsfabrik GmbH Donnerstrasse 20 D-22763 Hamburg Tel: +49 40 398415-10 Fax: +49 40 398415-32 E-Mail: [EMAIL PROTECTED] Web: www.animationsfabrik.de Amtsgericht Hamburg HRB 75488 Geschäftsführer: Jörn Radel Sitz der Gesellschaft: Hamburg -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaetan de Menten Sent: Monday, December 10, 2007 10:40 AM To: qooxdoo Development Subject: Re: [qooxdoo-devel] Formatting Numbers On Dec 10, 2007 9:47 AM, Andreas Tepper <[EMAIL PROTECTED]> wrote: > Hallo Fabian, > > thanks for your reply. Question is, how i can use the NumberFormat? I can't > find any property or method where i can aply the format, wether in the table > class nor in the Conditional cellrenderer. Maybe you can post a little > sample? Thanks again! It's a static attribute of the default cellrenderer. You can set it using: qx.ui.table.cellrenderer.Default._numberFormat but since it's static, you can't have a different number format for two different columns. You might want to use the patch I just sent in the "new table cell renderers" message. Hope it helps, > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Jakobs > Sent: Monday, December 10, 2007 8:45 AM > To: qooxdoo Development > Subject: Re: [qooxdoo-devel] Formatting Numbers > > Andreas Tepper schrieb: > > Hallo List, > > > > how do i format numbers in qooxdoo, especially in table cells like 2000 to > > 2.000,00 oder 150,0 to 150 % or 30.000 to 30000? I've seen the > > style-Parameter for qx.ui.table.cellrenderer.Conditional but did not found > > any infomation how this style-string should look like. CSS? Is it possible > > to use it for number formatting? > > > > Thanks! > > > > > > Hi Andreas, > > the table uses > <http://demo.qooxdoo.org/current/apiviewer/#qx.util.format.NumberFormat>. > You can use it for your own code as well. > > Best Fabian > > > -- > Fabian Jakobs > JavaScript Framework Developer > > 1&1 Internet AG > Brauerstraße 48 > 76135 Karlsruhe > > Amtsgericht Montabaur HRB 6484 > > Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, > Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss > Aufsichtsratsvorsitzender: Michael Scheeren > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Gaëtan de Menten http://openhex.org ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
