How is 'setCellData()' used? I tried using the following code, but the cell looks blank even after resizing the column. However, 'getCellData()' returns the correct data value. Also, 'setCellText()' displays correctly.
Sorry, seems badly documented :-)
This is basically just to keep a custom pointer around for each cell in which the user can keep any user-data. It's not displayed, but so you can keep additional data for yourself in it.
If you want to display numbers then convert a number to a string and use that string with setCellText.