Results 1 to 3 of 3
  1. #1

    Data source parsing problem

    Hi,

    I'm having new problem while using data-source (see e.g.) in a StaticGrid, which receives an update with "bla bla bla <br> bla bla" but when it shows it decode the text with "bla bla bla &lt;br&gt; bla bla".

    Do you know how to resolve it?

    e.g., "<span data-source="lightstreamer" data-grid="astable" data-item="${car.asBroadcastName}" data-field="<%=AsEventParams.CURRENT_BID_NAME%>">${firs tBidElement.name}</span>"

    Thanks in advance.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    539
    Hi shabbirh,

    You must call setHtmlInterpretationEnabled method setting the parameter to true value. So you will turn on the interpretation of the values in the model as HTML code. Please refer to documentation for further details on this method.

  3. #3
    Thanks a lot ....corti

    Quote Originally Posted by giuseppe.corti View Post
    Hi shabbirh,

    You must call setHtmlInterpretationEnabled method setting the parameter to true value. So you will turn on the interpretation of the values in the model as HTML code. Please refer to documentation for further details on this method.

 

 

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 01:14 PM.