Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/Database    [ Add a report in this area ]  
Report #:  49823   Status: Closed
DBGrid doesn't sort numeric columns correctly
Project:  HTML5 Builder Build #:  1.0.1.414
Version:    1.0 Submitted By:   Olivier Bertini
Report Type:  Basic functionality failure Date Reported:  7/31/2007 1:18:22 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   253353
Resolution: Fixed (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 1
Description
When clicking on the header of a column containing a numeric filed to sort it ascending or descending, a wrong sorting algorithm is applied.

For example sorting 1, 2, 34, 5 descending will produce 5, 34, 2, 1 instead of 34, 5, 2, 1.

Version used:

Delphi for PHP DEMO
VCL: vcl_for_php_07_07_10.tar.gz
Steps to Reproduce:
go to the online demo at
http://www.qadram.com/vcl4php/samples/Data%20Aware/dbgrid/dbgridtest.php

and try sorting the products_model column

You can download the sample from
http://www.qadram.com/vcl4php/index.php?ac=2000
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01