Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Apr 2008
    Posts
    24
    Vote Rating
    0
    zsumore is on a distinguished road

      0  

    Default [GXT 3.0 beta2]Grid column could not be sorted while a row with null value!

    [GXT 3.0 beta2]Grid column could not be sorted while a row with null value!


    Grid column could not be sorted while a row with null value.
    How could i do?
    Could i add a custom comparator?

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    premamonica is on a distinguished road

      0  

    Default Custom comparator - Multi Level Sort

    Custom comparator - Multi Level Sort


    Any updates on this thread? How do we add a custom comparator , I see that multi level sort was included in the road map for 3.0. And I do find, addSortInfo(int index, Store.StoreSortInfo<M> info) & Store.StoreSortInfo(java.util.Comparator<M> itemComparator, SortDir direction). Is there any examples which we could refer to?

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    premamonica is on a distinguished road

      0  

    Default Custom comparator - Multi Level Sort

    Custom comparator - Multi Level Sort


    I got a custom comparator, with 2 level sort to work correctly on the initially load.

    I am now creating a
    HeaderClickHandler to also use the custom comparator, my question is how do I disable the default sort event which is triggered while the column header is clicked. Any inputs will be appreciated.

    regards.

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Vote Rating
    79
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    @Zsemore ColumnConfig now supports setting a custom comparator, see ColumnConfig<M,N>.setComparator(Comparator<N>).

    @premamonica Does ColumnConfig.setSortable(false) not prevent columns from being sortable?

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    premamonica is on a distinguished road

      0  

    Default


    Hi Colin, Thanks for the reply.

    ColumnConfig.setSortable(false) did just work fine. I overlooked this method, assuming this might also disable the headerclick event. But I was wrong.

    I have 70+columns in the grid , so I have used Grid.getView().setSortingEnabled(false) which also did the same.

  6. #6
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    premamonica is on a distinguished road

      0  

    Default


    Hi Collin , is there a way to remove the Sort Ascending and Sort Descending menu items from the Grid column menu?

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar