mardi 10 mars 2015

Custom sorting order - DataGridView

Is it possible to sort this in a datagridview without padding the data to 3 values after the +.

The datatype is string and the datagridview column is text.



10:10+01
10:10+100
10:10+110
10:10+10


Should sort like this



10:10+01
10:10+10
10:10+100
10:10+110


Maybe changing the sortingmode to programmatic might help?


Any input would be appreciated


Aucun commentaire:

Enregistrer un commentaire