flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clint M <cmod...@gmail.com>
Subject Re: Flex 3 datagrid sorting
Date Mon, 13 Feb 2017 22:06:59 GMT
maybe try calling dataProvider.refresh() after applying the sort initially
or
not applying a sort to the base ICollectionView in the first place

On Mon, Feb 13, 2017 at 1:40 PM, mark goldin <markzolotoy@gmail.com> wrote:

> Also not sure about the example. Like I said if I click on some other
> column and then click on the first one, everything is working.
>
> On Mon, Feb 13, 2017 at 3:33 PM mark goldin <markzolotoy@gmail.com> wrote:
>
> > No, each column has its own sort function.
> >
> > On Mon, Feb 13, 2017 at 3:22 PM Clint M <cmodien@gmail.com> wrote:
> >
> > Maybe this example might help?
> >
> > http://www.jeffryhouser.com/index.cfm/2015/5/1/Why-wont-
> my-AdvancedDataGrid-sort-correctly
> >
> > Are you placing your sortCompare func on the columns on the whole grid?
> >
> > On Mon, Feb 13, 2017 at 12:52 PM, mark goldin <markzolotoy@gmail.com>
> > wrote:
> >
> > > I have a strange problem with sorting in my datagrid. Its first column
> > is a
> > > name - some string info. when grid comes up this column is marked with
> a
> > > small number 1. If I start sorting my clicking on an arrow next to this
> > > number the sortCompareFunction function is not executing. But if I
> click
> > on
> > > some other column first and go back sorting the first column everything
> > is
> > > working fine. Any idea what's wrong?
> > >
> > > Thanks
> > >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message