Re: numberFormat to datagrid

2009-06-23 Thread kl...@major.on-rev.com

Hi Josep,



Hi Klaus,

I have it in the FillData but nothing happen, all the values are  
showed with

6 decimal places..


hmmm, did work here, at least in an example button, not tested with a  
datagrid however.

Could you please post the complete handler? Just to be sure.


Salut,
Josep


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: numberFormat to datagrid

2009-06-22 Thread Josep

Hi Klaus,

I have it in the FillData but nothing happen, all the values are showed with
6 decimal places..

Salut,
Josep 
-- 
View this message in context: 
http://www.nabble.com/numberFormat-to-datagrid-tp24152520p24156822.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: numberFormat to datagrid

2009-06-22 Thread Klaus on-rev

Hi Josep,


Hi list,

How to apply the "set the numberFormat to "#.000" into the  
datagrid ? I have
the numeric values with 6 positions for decimals but only I want  
show 3. I

put it into the FillData but nothing happen..

Any idea?


Yep :-)

"the numberformat" will only affect the result of a calculation.

So you could do this in your "fillData" handler:
...
set the numberFormat to "#.000
add 0 to your_value_here
...

That should do the job.


Salut,
Josep


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


numberFormat to datagrid

2009-06-22 Thread Josep

Hi list,

How to apply the "set the numberFormat to "#.000" into the datagrid ? I have
the numeric values with 6 positions for decimals but only I want show 3. I
put it into the FillData but nothing happen..

Any idea?

Salut,
Josep
-- 
View this message in context: 
http://www.nabble.com/numberFormat-to-datagrid-tp24152520p24152520.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution