Previous Thread
Next Thread
Print Thread
XTREE: sort Image columns #37635 08 Nov 24 06:28 AM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content OP
Member
OP Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Hi Jack,

If I'm not wrong, Image columns do not sort, is it complicated to make it work?

In a column where different icons identify different statuses, sorting it, group the rows according that status, sometimes are just a matter of yes/no and avoid the need to add an external filter.

Thanks

Attached Files xtreesorticons.jpg

Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTREE: sort Image columns [Re: Jorge Tavares - UmZero] #37638 08 Nov 24 03:38 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Seems reasonable. It's not clear just what the order will or should be, but I don't see why we can't sort based on either the image spec or in the case of an image list, it's relative position in the list. Either one would have the effect of grouping them. Consider it on the list.

Re: XTREE: sort Image columns [Re: Jorge Tavares - UmZero] #37640 11 Nov 24 08:16 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Ok, I think this is ready for beta testing. And in the process of implementing it, I discovered a long-standing bug affecting PNG images when using fixed-size, non-discrete images (which probably no one ever noticed).
One limitation here is that in the non-discrete image mode, it can currently only distinguish 16 different images for the purpose of sorting. That could be expanded if it seems inadequate, but it should be plenty for scenarios like the one shown above.
Consider it beta for now though, so testing is advised...

ash-7.0.1765.0-w32c-upd.zip
ash70notes.txt

Re: XTREE: sort Image columns [Re: Jorge Tavares - UmZero] #37643 12 Nov 24 03:53 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content OP
Member
OP Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Difficult to be better, lovely, many thanks


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3