Hello,
I used EwxTableListExample as an example. When searching for text, one would have to find the cell where the text is, then use 'EwTableList>>#selectCell:notify:' to select the cell with notify set to true.
When the cell is selected, a callback is made if you defined one. The callData parameter of the callback has an editPolicy. That can be used to select text. I modified the method 'EwxTableListExample>>#beginEditString:clientData:callData:' to always select the first four letters in a cell:
- Code: Select all
beginEditString: widget clientData:clientData callData:callData
"A cell in the widget is about to be edited. This method handles
the callback for cell values that are strings"
callData doit: true.
callData editPolicy selection: 0@4
--tc