Quote Originally Posted by nikhilqt View Post
Can you let me know how should i maintain the precision and to do ordering numerically
in table model.
If you use QStandardItemModel::setSortRole() to set the role to Qt::EditRole and return a QVariant::Double in that role, and the QVariant::String form in the Qt::DisplayRole, does that achieve your sorting requirement?