Hybrid View
-
20 Mar 2012 8:51 AM #1
ButtonCell with image - problem
ButtonCell with image - problem
Hi, I am on a new project and we want to use gxt3 instead of gxt2.X.
I’m trying to implement a grid, I don’t know if it’s a bug but I have problems when I try to put buttonCell in the grid, the problems are:
1) the method render don’t render the first row;
2) when I click on the buttonCell over the Image (Icon), I can’t click on it, I expected one component (a button with an image), not 2 components.
I attach a screenshot and my java classes.
http://dl.dropbox.com/u/22225410/But...0On%20Grid.png
http://dl.dropbox.com/u/22225410/project.rar
Other problems that I have are:
1) The NumerInputCel l has only readOnly method, I was looking for the disable method.
2) For the Format (private static final NumberFormat format = NumberFormat.getFormat("#,##0.00")
I expected to have this format 1.000,00 not 1,000.00.
If you can help me with these problems.
Thank you.
Cheers
-
22 Mar 2012 4:04 AM #2
Hi all,
I already resolved the last 2 minor problems for the NumberInputCell.
I'm still in trouble with the render of the ButtonCell.
Thank you!
-
22 Mar 2012 5:32 AM #3
2) For the Format (private static final NumberFormat format = NumberFormat.getFormat("#,##0.00")
I expected to have this format 1.000,00 not 1,000.00.
Can you tell us how you solved this?
Is it right that the digit grouping/decimal symbol used, is that of the locale (regional settings)?
-
22 Mar 2012 5:53 AM #4
Hi,
yes it's the local (regional settings).
I put in my "Project_Module_Name".gwt.xml:
<extend-property name="locale" values="it_IT"/>
<set-property-fallback name="locale" value="it_IT"/>
Cheers.
-
26 Mar 2012 8:55 AM #5
In what browser are you noticing this issue? Also, are you noticing this issue in production mode or development mode?
-
26 Mar 2012 8:57 AM #6
Chrome & Firefox both with development and production, i'll test with IE but i doubt the problem is browser related
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote