-
Type: Story
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.2.0
-
Component/s: None
-
Labels:None
-
Story Points:5
-
Epic Link:
-
Sprint:Cardinal Sprint 4 (5/4-5/15)
Sortable Table Views require ability to use custom or out-of-the-box column sort comparators based on column data type. Right now, the default is to use lexicographical sorting, which is incorrect for some numerical fields. See attachment for an example.
The data also needs custom or out-of-the-box cell formatters. Right now, they rely on the toString() method of the underlying datatype which is not always correct. For example, switch port numbers are unsigned values, but are being displayed as signed values.
Implementation Note:
The proper way to tackle this is to augment the TableRow abstraction (on the server side) to include TableCell and CellComparator concepts...