Tokay Posted May 17, 2020 Share Posted May 17, 2020 Is it possible to wrap lines in a column of a TUniStringGrid? I colud'nt find anything on forum. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 17, 2020 Share Posted May 17, 2020 32 minutes ago, Tokay said: Is it possible to wrap lines in a column of a TUniStringGrid? I colud'nt find anything on forum. In the column header or in the cells? Quote Link to comment Share on other sites More sharing options...
Tokay Posted May 17, 2020 Author Share Posted May 17, 2020 In the cells Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 17, 2020 Share Posted May 17, 2020 Do you have a locked column? Quote Link to comment Share on other sites More sharing options...
Tokay Posted May 18, 2020 Author Share Posted May 18, 2020 This is DFM code: object StringGrid1: TUniStringGrid Left = 0 Top = 0 Width = 369 Height = 321 Hint = '' FixedCols = 0 FixedRows = 0 RowCount = 7 ColCount = 2 DefaultRowHeight = 18 Options = [goVertLine, goHorzLine, goColSizing, goRowSelect] ShowColumnTitles = True Columns = < item Title.Caption = #1055#1072#1088#1072#1084#1077#1090#1088 Title.Color = clBlack Width = 150 end item Title.Caption = #1047#1085#1072#1095#1077#1085#1080#1077 Title.Color = clBlack Width = 200 end> Align = alTop TabOrder = 1 end Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 20, 2020 Share Posted May 20, 2020 On 5/18/2020 at 4:19 PM, Tokay said: This is DFM code: You can try to use this CustomCSS: .x-grid-cell-inner { white-space: normal; } 1 Quote Link to comment Share on other sites More sharing options...
Tokay Posted May 20, 2020 Author Share Posted May 20, 2020 It works! Thank you very much 1 Quote Link to comment Share on other sites More sharing options...
Américo Torres Posted December 6, 2020 Share Posted December 6, 2020 sorry im novice, i have same problem, i need to resize a row because it contains extensed data, but where i put the css code please? i have Unigui v1.90.1539 ty Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 7, 2020 Share Posted December 7, 2020 3 hours ago, Américo Torres said: i have Unigui v1.90.1539 Hello, Sorry, are you using a trial edition? Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted yesterday at 08:41 AM Share Posted yesterday at 08:41 AM On 5/18/2020 at 12:03 AM, Sherzod said: In the column header or in the cells? Hello sir~ Can you answer both? thank you. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted 8 hours ago Share Posted 8 hours ago Hello, 19 hours ago, charles13115255 said: Can you answer both? Okay, I will try. But tell me, did you get an answer (solution) to one of your questions? Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted 8 hours ago Share Posted 8 hours ago 8 minutes ago, Sherzod said: Hello, Okay, I will try. But tell me, did you get an answer (solution) to one of your questions? Hello~~ I am in an urgent need of help: 1. Fixed Col 2. Column 3. normal col Thanks for the trouble. 😀 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted 7 hours ago Share Posted 7 hours ago 25 minutes ago, charles13115255 said: I am in an urgent need of help: 1. Fixed Col 2. Column 3. normal col Try this customCSS: .x-column-header-text-inner { background-repeat: no-repeat; white-space: normal; } Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted 5 hours ago Share Posted 5 hours ago 2 hours ago, Sherzod said: Try this customCSS: .x-column-header-text-inner { background-repeat: no-repeat; white-space: normal; } Hello~~ sir: Please see the picture below: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted 5 hours ago Share Posted 5 hours ago 10 minutes ago, charles13115255 said: On 5/20/2020 at 5:06 PM, Sherzod said: You can try to use this CustomCSS: .x-grid-cell-inner { white-space: normal; } Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted 4 hours ago Share Posted 4 hours ago Good! 👍 thank you! Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted 4 hours ago Share Posted 4 hours ago 3 hours ago, Sherzod said: Try this customCSS: .x-column-header-text-inner { background-repeat: no-repeat; white-space: normal; } 1 hour ago, Sherzod said: .x-grid-cell-inner { white-space: normal; } But, Can I specify specific StringGrid settings? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted 3 hours ago Share Posted 3 hours ago 31 minutes ago, charles13115255 said: Can I specify specific StringGrid settings? Sorry? Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted 3 hours ago Share Posted 3 hours ago 12 minutes ago, Sherzod said: Sorry? Can't ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted 3 hours ago Share Posted 3 hours ago I meant that I didn't really understand your question, sorry. Quote Link to comment Share on other sites More sharing options...
charles13115255 Posted 2 hours ago Share Posted 2 hours ago 38 minutes ago, Sherzod said: I meant that I didn't really understand your question, sorry. sorry~~ Can I only set a single StringGrid instead of all? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted 1 hour ago Share Posted 1 hour ago 1 hour ago, charles13115255 said: Can I only set a single StringGrid instead of all? 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.