-
December 21st, 2007, 03:25 PM
#1
Calling table.setSelector
Dear All,
I have several questions about calling setSelector() function.
1.Can we change the selector parameter set before ?
2.If we do, should we reregister the table through lspage.AddTable() function ?
3.After we succesfully change the selector parameter, does the data will be resent from the begining but this time with new selector parameter or the selector will apply to the next messaages received ?
regards,Dyan Dhanisworo
-
December 24th, 2007, 09:02 AM
#2
Hi Dyan,
(1, 2) The client "setSelector" method only affects the next time an "addTable" is performed. Therefore, if the selector has to change, you have to issue "removeTable", then "setSelector" then "addTable".
(3) In this phase, the old table contents are cleared from the screen according to the settings for "setClearOnRemove" and "setClearOnAdd". Moreover, upon the new "addTable", the snapshot, if requested, is received restricted to the new selector, as the server-side "isSelected" method is consulted for both snapshot and regular updates.
See the Table and VisualTable docs for reference.
Similar Threads
-
By Alessandro in forum General
Replies: 0
Last Post: February 2nd, 2007, 05:40 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:27 AM.
Bookmarks