Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member feelinforyou's Avatar
    Join Date
    Dec 2012
    Posts
    94
    Vote Rating
    4
    feelinforyou is on a distinguished road

      0  

    Default Missing sort indicator for grid

    Missing sort indicator for grid


    If i don't use a default ValueProvider the blue icon for the sort direction ist missing.
    For example:

    Code:
    public ValueProvider<IMatch, Date> matchDate();
    
        public ValueProvider<IMatch, String> groupDate();
    
        public ValueProvider<IMatch, MatchType> matchType();
    
        public ValueProvider<IMatch, String> team1 = new ValueProvider<IMatch, String>() {
            @Override
            public String getValue(IMatch object) {
                return getTeam(object, object.getTeam1());
            }
    
            private String getTeam(IMatch object, TeamDto teamDto) {
                final StringBuilder builder = new StringBuilder();
    
                final PlayerDto player1 = teamDto.getPlayer1();
                builder.append(player1.getLastName()).append(", ");
                builder.append(player1.getFirstName());
    
                if (object.getMatchType() == MatchType.Double) {
                    builder.append(" | ");
    
                    final PlayerDto player2 = teamDto.getPlayer2();
                    builder.append(player2.getLastName()).append(", ");
                    builder.append(player2.getFirstName());
                }
                return builder.toString();
            }
    
            @Override
            public void setValue(IMatch object, String value) {
            }
    
            @Override
            public String getPath() {
                return null;
            }
        };
    For the matchDate, groupDate and matchType everything looks fine. For team1 you won't get the indicator, but sorting still works.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    If you don't return a string from ValueProvider.getPath(), the columns don't know how to highlight that row for this or other state changes. Try returning something unique for that ValueProvider like "team1", and see if that resolves this.

  3. #3
    Sencha Premium Member feelinforyou's Avatar
    Join Date
    Dec 2012
    Posts
    94
    Vote Rating
    4
    feelinforyou is on a distinguished road

      0  

    Default


    Problem fixed. Thanks!

Thread Participants: 1

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