File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes How to find the selected rowindex thus extract the data-items from the NatTable Grid Item Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to find the selected rowindex thus extract the data-items from the NatTable Grid Item" Watch "How to find the selected rowindex thus extract the data-items from the NatTable Grid Item" New topic
Author

How to find the selected rowindex thus extract the data-items from the NatTable Grid Item

sristi thapa
Greenhorn

Joined: Jul 19, 2011
Posts: 2
I've a problem to use the NatTable Grid i.e. High Performance SWT Grid which I downloaded from http://sourceforge.net/projects/nattable/files/NatTable/. I can load the data into this NatTable Grid, but I don't know(or find any method in NatTable) how to find the selected row's index as we do in case of Nebula Grid/SWT table. Moreover, how to extract the data from this Grid after filling it, so that the extracted row data can be loaded into an ArrayList. Please, somebody tell me the way I should follow to achieve these functionalities in NatTable.
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

You may refer to, http://sourceforge.net/projects/nattable/forums/forum/744994


S.D. MADHAN
Not many get the right opportunity !
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

Sristi, please BeForthrightWhenCrossPostingToOtherSites. That SourceForge page shows you posted the exact same question there. That's not a problem, as long as you tell both us and the other forums.

And welcome to the Ranch!


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
sristi thapa
Greenhorn

Joined: Jul 19, 2011
Posts: 2
Yes, I posted the same question in both of the forums guyz, because I'm very much eager to get the right answer till now. But, unfortunately neither of you guyz have showed me a right way to follow. I hope somebody may still show me the clue/way ahead. sorry guyz if I've misused your forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find the selected rowindex thus extract the data-items from the NatTable Grid Item