Re: force re-sort



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Torsten Schoenfeld wrote:
On Sat, 2005-07-23 at 20:59 +0200, Jens Luedicke wrote:


how do I force a re-sort (same sort order, same column) of a treeview
column?


There's no need to.  If your model has sorting enabled, newly added rows
will be sorted automatically.

I know. That is not my problem :)

I have a config option to tell my app to use case insensitive sorting or
not. I the user changes the option I want that the tree is resorted.

If column Name is sorted ascending, the treeview ignores it if I set
column Name to be sorted ascending. ascending -> descending -> ascending
is a bit dirty to get the change applied.

jens

- --
Jens Luedicke
web: http://perldude.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC4pnniCvkc4H0gTERAi7OAKDAOGbZJmdquJUnMeWpU/HOlFhLcQCgjG9y
No5py3xhqmbkRe0VHFSC0yI=
=L+ks
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]