Results 1 to 3 of 3

Thread: Using selectors

Hybrid View

  1. #1
    Member
    Join Date
    Aug 2007
    Location
    DKI Jaya
    Posts
    13

    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

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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

  1. Use of Selectors in COMMAND mode
    By Alessandro in forum General
    Replies: 0
    Last Post: February 2nd, 2007, 05:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:58 PM.