Results 1 to 2 of 2
  1. #1

    data-fieldtype="extra" data-update="src">

    Hi,

    I'm testing

    web client
    <img data-source="lightstreamer" data-field="statusImg" data-fieldtype="extra" data-update="src">

    java adapter
    if(status = 1) {
    data.put("statusImg","img/on.png");
    } else {
    data.put("statusImg","img/off.png");
    }

    but without success !!!

    could you please give an example, thank you

    Note : the others fields are updating fine

    Thank you

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    538
    Hi kimi,

    We have an example of img which changes depending on the updates received in real time from Lightstreamer server in our StockList Demo: https://github.com/Lightstreamer/Lig...index.html#L77

    Please consider also that you need to specify all the node typed the grid will map: https://github.com/Lightstreamer/Lig...ndex.html#L186

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 2
    Last Post: March 29th, 2013, 02:59 AM
  2. Replies: 1
    Last Post: August 20th, 2009, 08:47 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 08:25 PM.