Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2010
    Location
    Hong Kong
    Posts
    2

    Choice of VisualTable and Event handlers

    Dear All,

    I am a beginner of Lightstreamer and working on a project similar to the Stock List Basic Demo, but there is a requirement that, say each row/stock got a checkbox and if the stock price of a stock is over $10, then its checkbox will be disabled. I wonder which table (visualTable?! nonVisualTable?!) and event handler should I use in that case?

    Many Thanks.

    Josephine

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    the behaviour you're looking for is not directly related to the kind of table to use.

    If you use a NonVisualTable you have to handle all the visual aspects of the table.
    Otherwise you have to handle only the enable/disable checkbox part.

    For any item update the onChangingValues callback is called. There you should have all the informations to know if you should enable or disable the checkbox related to the updating row.

    Let me know if and where you get stuck.

    HTH.

 

 

Similar Threads

  1. visualtable's hottime and old machines
    By cbrogliato in forum Client APIs
    Replies: 6
    Last Post: May 8th, 2010, 09:14 PM
  2. Replies: 3
    Last Post: January 21st, 2010, 12:25 PM
  3. format value in VisualTable
    By tuongkha in forum Client APIs
    Replies: 9
    Last Post: July 9th, 2008, 09:27 AM
  4. Error with VisualTable
    By tuongkha in forum Client APIs
    Replies: 19
    Last Post: July 8th, 2008, 09:16 AM
  5. VisualTable = How to capture value?
    By bayu in forum Client APIs
    Replies: 1
    Last Post: December 17th, 2007, 10:14 AM

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 04:34 AM.