asapltda Posted July 23, 2016 Share Posted July 23, 2016 Hi I want to change the height and width of the cells of a string grid , height = 90 width = 90 , in design mode seen in that size, but in execution only the width is changed, as I can do ? Use delphi XE2 , Windows 10 home I want to change the height and width of the cells of a string grid , height = 90 width = 90 , in design mode seen in that size, but in execution only the width is changed, as I can do ? Use delphi XE2 , Windows 10 home Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 23, 2016 Share Posted July 23, 2016 Hi, Try: Width: UniStringGrid1->Columns[xxx].Width = 90; Height: UniServerModule->CustomCSS... .x-grid-cell-inner { height: 90px; } Best regards. Quote Link to comment Share on other sites More sharing options...
asapltda Posted August 3, 2016 Author Share Posted August 3, 2016 Thanks for your reply.That instruction , exchange all existing StringGrid in the application ?If only what I require this specific size , in a specific way , as it should ?Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2016 Share Posted August 3, 2016 Hi, That instruction , exchange all existing StringGrid in the application ? yes, height will be changed for all If only what I require this specific size , in a specific way , as it should ? Do you mean for only one ?! Quote Link to comment Share on other sites More sharing options...
asapltda Posted August 8, 2016 Author Share Posted August 8, 2016 Hi, yes, height will be changed for all Do you mean for only one ?! Yes, tks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 8, 2016 Share Posted August 8, 2016 Hi, Then try this: 1. UniServerModule->CustomCSS... .my-stringgrid .x-grid-cell { height: 90px; } 2. UniStringGrid1->ClientEvents->UniEvents-> beforeInit fn: function beforeInit(sender, config) { config.cls = "my-stringgrid"; } Best regards. 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.