This is a migrated thread and some comments may be shown as answers.

Sort Formatted Number

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mosa
Top achievements
Rank 1
mosa asked on 01 Jan 2013, 01:13 PM
Using format string in number to show decimal seprator in a grid column by this : 
columns.Bound(p => p.quantity).Format("{0:#,0}")
make numbers unsortable in a right sorting

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 02 Jan 2013, 01:44 PM
Hello Mosa,

Sorting functionality uses the underlying DataSource data and should not be affected by the format of the field. Could you please provide a sample project with mock data or jsBin example that demonstrates the issue.

In this way I would be able to examine your current implementation in details and assist you further.
Thank you in advance for the cooperation.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
mosa
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or