• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. SWT Tables > Adding Find-and-Replace Functionality

12.8. Adding Find-and-Replace Functionality

It is also possible to interact with the text in a TableItem using the getText() and setText( ) methods. One such use of setText( ) and getText( ) is to build a find-and-replace capability into your tables.


Note:

Although TableItem cells are not editable, you can allow the user to change data in a cell simply by providing a text field for the entry of data. In fact, this is the approach taken by many spreadsheet programs.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint