Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default No CSS style with a basic Grid

    No CSS style with a basic Grid


    Hello,

    I am trying to build a grid using GXT 3.0.0 as the BasicGrid example provided by Sencha. However, I have spent a while to figure out why my header doesn't get a modern and clean CSS style. Do you have any clues in order to solve this problem?

    I do inherit the com.sencha.gxt.ui.GXT and add the reset.css file in my project.

    Code:
        protected void buildGrid() {
            final ColumnModel<AlertDto> cm = new ColumnModel<AlertDto>(buildColumnConfig());        
            store = new ListStore<AlertDto>(props.id());        
            grid = new Grid<AlertDto>(store, cm, new GridView<AlertDto>());
            grid.setBorders(true);
            grid.getView().setAutoFill(true);
            grid.getView().setStripeRows(true);
            grid.setAllowTextSelection(false);
            this.setHeaderVisible(false);
            this.add(this.grid); // added to a ContentPanel
        }
    Thank you for your help,
    Thomas

  2. #2
    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


    It's very difficult to understand what exact problem you're noticing. Does the example you linked have the styling you expect? If not, how does it differ? Consider adding a screenshot if that will make it clearer how your case differs from that in the Explorer.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default


    Hi,

    Thank you for your quick reply. Here are two screenshots showing the difference. FYI, I am trying to run GXT 2.X and 3.X simultaneously. The first screenshot shows a grid implemented with GXT 2.X. The second one shows a GXT 3.X grid

    1) With a nice CSS style for the header :
    withCSS.jpg

    2) Without CSS style on the header :
    (Firebug doesn't link the CSS style of this header to a usual css file)
    noCSS.jpg


    Problem
    I was expected to get the normal Blue style as in your example. I do think I will get this problem with the other widgets. Moreover, I also got the same problem when I tried to use the GridView(GridView.GridAppearance appearance) constructor. Finally, I don't get a scrollbar (but the source of this problem is probably different)

    I get some warnings from the compilation process as defined on this thread. Different problems were detected while invoking the InlineClientBundleGenerator. But I don't know if that can be related to my CSS problem.

    I hope I have been clearer.
    Thank you,
    Thomas

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    1
    zetomatoz is on a distinguished road

      0  

    Default


    Hello,

    I have built a new little application from scratch using GXT 3.0.0 only. I do have still the same problem : strange CSS default look on the grid header (not the clean and modern blue style). I got the same warnings during the compilation process.
    There are no worries with other widgets.

    Your help will be highly appreciated.
    Regards,
    Thomas

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi