| Problem with VirtualTable? [message #547866] |
Mon, 19 July 2010 18:09  |
Mark McLaren Messages: 45 Registered: July 2009 |
Member |
|
|
Very occasionally I find that the VirtualTable cannot find the item passed into the setData event notification. See my code below - it results in rowNum being set to -1. Does this sound like a bug in VirtualTable or am I using the API incorrectly?
Thanks
virtualTable.addListener(SWT.SetData, new Listener() {
public void handleEvent(Event event) {
TableItem item = (TableItem) event.item;
int rowNum = virtualTable.indexOf(item);
// rowNum is now -1 ?????????
}
}
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01396 seconds