Hi,

As the type of data we get from server side is of string type, due to which
the sorting for Integer/Number type columns is not working.

To fix this issue, we are using BigNumber JS library.
We are overriding Backgrid's sort and make_comparator method in
backgrid.pgadmin.js.

When sorting is performed based on column we identify the column
type(integer/number) and then convert its value into BigInteger and the
sorts data.

This patch is dependent on patch sent for "Adding support for BigNumber JS
library".

Also, thanks to Murtuza for help.

Please find attached patch and review.


Thanks,
Surinder Kumar

Attachment: RM1938.patch
Description: Binary data

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to