• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getValueAt(int row, int col)

 
uzma ali
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am really stuck on this point.


On console I could see that my row value increments to 9 starting from 0. I have no idea why?
I would need record number along with the values. I tried many things , nothing seem working for me. Pleae help and guide me how to pass recNo which is contained in contractorRecords.
Any help is appreciated

Thanks

Uzma
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi uzma,

the getValue method will be called for every cell int your table.
That's why you see the rownumbers going up from 0 to 9.

Herman
 
uzma ali
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But there are only 14 records are fetched for the search I do so how this 10 row come in the picture.

Can you explain and also can you help me in second question how to transfer the recNo with the record values to Main file while I am using hashmap

thanks

Uzma
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi uzma,

I don't quite understand you, so maybe you can post your getColumnCount and getRowCount methods?

Herman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic