Mailinglist Archive: yast-devel (35 mails)

< Previous Next >
Re: [yast-devel] Table sorting and locales in YaST UI
Dne 4.5.2012 11:48, Thomas Goettlicher napsal(a):
On Fri May 4 2012 11:19:24 Ladislav Slezak wrote:
Which regexp do you propose? Please keep in mind, that the regexp needs to be
executed each time the user wants to sort the columns for all rows of the
We should keep the regexp simple as it's critical to performance.

According to I'd propose


i.e. if it starts with a number (ignore the spaces at the beginning)
use the number for sorting and ignore the rest.

You can add the rows in the order you want the Table widget to show the items
switch on keepSorting. See:

Yes, but users then would not be able to change the sorting. Sometimes it is
to sort by status to see enabled or disabled repos together or sort by name or
even by URL (to see e.g. all cd:// or dvd:// repos together)...


Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups