Hi Daniel, As Etienne suggested, making the event delivery mode asynchronous will not block the UI:
table.getSelectionModel().setEventDeliveryMode(UlcEventCategories.LIST_SELEC TION_EVENT_CATEGORY, UlcEventConstants.ASYNCHRONOUS_MODE); table.getColumnModel().getSelectionModel().setEventDeliveryMode(UlcEventCate gories.LIST_SELECTION_EVENT_CATEGORY, UlcEventConstants.ASYNCHRONOUS_MODE); Is this ok for you? Alternatively you will have to extend ULCListSelectionModel. Let me know. Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Dilitz Sent: Friday, October 27, 2006 8:55 PM To: [email protected] Subject: [ULC-developer] ListSelectionEvent Hi In my application I have a table and many textfields. If you select a row on table the textfields get synchronized to the selected row. So far so good. Now we have the problem that the ListSelectionListener roundtrip gets called everytime the user navigates through the table. This makes the navigation in table very slow because on every selectionchange, the textfields get updated, which takes some time and the roundtrip seems to block the navigation in table. The problem is solved in case the user presses an arrow key and leaves it pressed to navigate through the table. In this case the selection event only gets fired after releasing the key. What would solve my problem, is some sort of timer on clientside which gets started if the user changes the selection on table. Lets assume the timer is set to 600ms. If the user changes the selection again within these 600ms the previous selection change gets dropped, the timer gets resetted to 600ms and only the last one gets sent to the server if no other selection event is fired within these 600ms. Is there any possibility to achive this??? Thanks in advance Daniel D. _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
