Thanks very much for checking.  As workaround, in the callback for the grid
I'm checking if the sort column is an attribute in the table class.  If it
is then I proceed to sort the data.  If not, it quietly does nothing.  It's
not an ideal solution, but people probably won't try to sort the
non-sortable columns very often anyway.

Best,
Matthew


On Wed, Feb 6, 2013 at 6:30 AM, Mengu <[email protected]> wrote:

> Hello Matthew,
>
> I have looked into it and it seems tw.jquery.FlexiGrid does not
> support the "sortable: true/false" setting for colModel items maybe
> they have added it to FlexiGrid later.
>
> On Jan 31, 5:50 pm, MHCPU <[email protected]> wrote:
> > I'm using the tw.jquery FlexiGrid in TurboGears 2.2.0 (tw.jquery 0.9.10)
> > which is working nicely.  I have some columns which do not make sense to
> > sort  -- for example, each row in my grid has view, edit, and delete
> > buttons.  Is there a way to specify columns as non-sortable?  There are
> > versions of flexigrid Javascript around that accept "'sortable' : false"
> in
> > the column model, but that has no effect on the flexigrid in tw.jquery.
> >
> > Thanks for any help,
> > Matthew
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to