We have some data coming in that is stored as Text. It needs to be sorted as its integer equivalent. The issue is that the "strings" are like this "1", "2", "3", "10", "20", "50", "100". Because these are "text" or strings when they come in, it sorts them like this: "1", "10", "100", "2", "20", "3", "50". Using the old Ultra grid that we were using (very old), it had a Sort type of "ByNumericValue" that would actually treat the text as an integer and sort correctly.
Is there an equivalent in today's WebDataGrid?
(We are using 11v1.2135)
Hi greghendricks,
The WebDataGrid sorts by the actual data type. There are two options you could try. The first would be to do custom data binding and then you sort the data treating the text as numbers. Or you could make an unbound column that has these string values as an actual int and then sort the unbound column.
regards,David Young
Hello greghendrick,
I hope the information provided from David is helpful for you.
If you need any further assistance with this matter do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://www.infragistics.com/support