-
July 19th, 2010, 03:40 AM
#1
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
-
July 20th, 2010, 09:20 AM
#2
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
-
By cbrogliato in forum Client SDKs
Replies: 6
Last Post: May 8th, 2010, 09:14 PM
-
By hofmanna in forum Client SDKs
Replies: 3
Last Post: January 21st, 2010, 12:25 PM
-
By tuongkha in forum Client SDKs
Replies: 9
Last Post: July 9th, 2008, 09:27 AM
-
By tuongkha in forum Client SDKs
Replies: 19
Last Post: July 8th, 2008, 09:16 AM
-
By bayu in forum Client SDKs
Replies: 1
Last Post: December 17th, 2007, 10:14 AM
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 03:11 PM.
Bookmarks