1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2009
    Vote Rating
    karansardana is on a distinguished road


    Default extracting the column content

    extracting the column content

    I would like the column not to get sorted if it contains the same data throughout, but I would certainly like the header to get highlighted in case of a click.

    I was thinking of suppressing the event in case of equivalent column data, and still applying the style to the column's header.

    Any suggestions on this/ is there any other/better way of doing this?


  2. #2
    Ext User
    Join Date
    Sep 2008
    Vote Rating
    Arno.Nyhm is on a distinguished road



    your ide is good.

    an other possible idea:

    you can listen to the event: BeforeSort

    it comes from ListStore:

    PHP Code:
      public void sort(String fieldSortDir sortDir) {
        if (!
    fireEvent(BeforeSortcreateStoreEvent())) {
    in the attached store event you can access the store and look if the values are equal and then you can cancel the event.

    but i see one problem there:

    in the event you dont have the column for sorting :-( and not the sort direction. this makes this event useless :-( i

    @sven: make it sense to add this to the event?

    other solution: subclass the ListStore and check this in a overwritten sort() before calling the super.sort()

    maybe there are other solutions for this.
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041

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