Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Extending sortingatable.html and TableColumn


Hi,

I needed to sort a Table and found the sortingatable.html snippit very useful.
The snippit starts by stating that SWT does not support access to the low-level sorting of a table because

"Since this [low-level] mechanism frequently does not provide the expected results in the face of upper and lower case text and language specific features such as accents, SWT does not provide access to it. Instead, we recommend that you use the sorting mechanisms provided by Java. "

I think this is bogus as the user is used to the system's sorting. The sorting API should be extendable for those cases where the sorting fails

Now, is there any way of accessing the ascending/descending arrow on tables?

Using the TableColumn::setImage has two drawbacks
 - it doesn't use the native L&F, platform dependant
 - image is put before text.


Any comments on how to extend the TableColumn to at least support access to the GUI features of the native table sorting? Should I add this as a feature request?

Cheers,
/G

--------------------------
Gunnar Ahlberg
--------------------------

Back to the top