Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    23
    Vote Rating
    0
    ProgettoFideuram is on a distinguished road

      0  

    Default 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

  2. #2
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    23
    Vote Rating
    0
    ProgettoFideuram is on a distinguished road

      0  

    Default


    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!

  3. #3
    Ext GWT Premium Member gdlm's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    208
    Vote Rating
    4
    gdlm is on a distinguished road

      0  

    Default


    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)?

  4. #4
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    23
    Vote Rating
    0
    ProgettoFideuram is on a distinguished road

      0  

    Default


    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.

  5. #5
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    In what browser are you noticing this issue? Also, are you noticing this issue in production mode or development mode?

  6. #6
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    23
    Vote Rating
    0
    ProgettoFideuram is on a distinguished road

      0  

    Default


    Chrome & Firefox both with development and production, i'll test with IE but i doubt the problem is browser related