loQsoft Posted August 21, 2021 Share Posted August 21, 2021 How can I make unidbgrid word wrap? THANK FOR YOUR HELPS, do not work for me, maybe, i do something wrong! Delphi 10.2 unigui :1.90.0.1550 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 21, 2021 Share Posted August 21, 2021 36 minutes ago, loQsoft said: How can I make unidbgrid word wrap? Hello, Quote Link to comment Share on other sites More sharing options...
irigsoft Posted August 21, 2021 Share Posted August 21, 2021 3 hours ago, loQsoft said: How can I make unidbgrid word wrap? THANK FOR YOUR HELPS, do not work for me, maybe, i do something wrong! Delphi 10.2 unigui :1.90.0.1550 Hello, I use HTML in SQL query like this: SELECT ('<H3>'+ Products."Name" + '</H3>' + CASE WHEN CONVERT (varchar (250) , STUFF ( (SELECT CHAR (10) + '|||' + REPLACE (ParamName,'-','') + CHAR (10) + ParamValue FROM SomeDataArt WHERE SomeDataArt."ID_Art"=Products."ID" FOR XML Path ('')),1,1,'')) <> '' THEN '<h4>' + REPLACE (CONVERT (varchar (250) , STUFF ( (SELECT CHAR (10) + '|||' + REPLACE (ParamName,'-','') + CHAR (10) + ParamValue FROM SomeDataArt WHERE SomeDataArt."ID_Art"=Products."ID" FOR XML Path ('')),1,1,'')) ,'|||','</br>') + '</h4>' ELSE '' END + '<ul><ul><h4 align="right">Price: ' + CAST (ROUND (Products."Price",2) as varchar (20)) + ', ' + lower (Products."Vl_P") + '</h4></ul></ul>' ) as ProductName FROM MyTable So, all useful HTML can be implemented in SQL 1 Quote Link to comment Share on other sites More sharing options...
alfr Posted August 21, 2021 Share Posted August 21, 2021 I believe you just can set useMemo:=true on the column 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.