Displaying data in QTable
hi,
i am using Qtable in my application and display data read from the file into its cell .
Now my problem is that the string data is displayed at the left corner of the cell while numerical data is displayed at the right corner.
but i want the to appear at the same place.
How can i do this?????????
regards
Raghvendra
Re: Displaying data in QTable
Try reimplementing QTableItem::alignment(). As the docs state, the default implementation aligns numbers to the right and any other text to the left.