andyhill Posted July 24, 2023 Share Posted July 24, 2023 In my CalcFields Event I determine the Count value and then I want to format the string response to display in HTML but it fails - please advise; if Odd(Count) = True then begin TimeStr:= '<p style="color:blue;">'+TimeStr+'</p>'; end else begin TimeStr:= '<p style="color:red;">'+TimeStr+'</p>'; end; Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 26, 2023 Author Share Posted July 26, 2023 Any suggestions on how to display html code with mobile dblistgrid column ? Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 26, 2023 Author Share Posted July 26, 2023 Sherzod, Please advise why "TUnimDBListGrid Column[i].AllowHTML:= True;" does not paint '<p style="color:red;">'+TimeStr+'</p>'; red ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 27, 2023 Share Posted July 27, 2023 Hello @andyhill Please make a simple simple testcase to test this faster on my end. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.