akim2 Posted October 12, 2011 Share Posted October 12, 2011 Hello All I need to change the height of a row in TUniDBGrid. if such a possibility in the component? Thank you Link to comment Share on other sites More sharing options...
akim2 Posted October 12, 2011 Author Share Posted October 12, 2011 It's very important, it allows to create dbgrid with multiline on the screen. May be, is it a possibility to change dynamically the row height in a dbgrids? Thank you Link to comment Share on other sites More sharing options...
ibandyop Posted October 12, 2011 Share Posted October 12, 2011 I think this depends on your theme. You should find the css file and look at x-grid3-row Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators Share Posted October 13, 2011 Row height is automatically determined by cell content. If cell content has multiple lines then row is adjusted automatically. Link to comment Share on other sites More sharing options...
ldb68 Posted October 13, 2011 Share Posted October 13, 2011 Only if text have <br> tags I think. Without text is cutted with .... Row height is automatically determined by cell content. If cell content has multiple lines then row is adjusted automatically. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators Share Posted October 13, 2011 Only if text have tags I think. Without text is cutted with .... Yes, text should contain line breaks or carriage return. Link to comment Share on other sites More sharing options...
Abaksoft Posted October 31, 2018 Share Posted October 31, 2018 Still not correctly displaying on Build 1481. items are not vertical centred. Did somebody find solution ? Thx. Link to comment Share on other sites More sharing options...
Sherzod Posted October 31, 2018 Share Posted October 31, 2018 Hello, Sorry, what are the settings of your grid ? Link to comment Share on other sites More sharing options...
Abaksoft Posted October 31, 2018 Share Posted October 31, 2018 Thx Sherzod, Just put an UniDBGrid with : Font Size = 15 Style : fsBold RowHeight = 40 Link to comment Share on other sites More sharing options...
Sherzod Posted October 31, 2018 Share Posted October 31, 2018 Maybe you wanted something like this: .x-grid-cell { vertical-align: middle; } .x-grid-cell-inner { line-height: 100%; } 2 Link to comment Share on other sites More sharing options...
Abaksoft Posted October 31, 2018 Share Posted October 31, 2018 Thank you very much Maestro, Woks fine (good vertical center) Sorry, If i understand, when copying this CSS on UniServerModule CustomCss property this will give for all my UniDBGrid components on the Project this behavior ? 1 Link to comment Share on other sites More sharing options...
Sherzod Posted October 31, 2018 Share Posted October 31, 2018 5 minutes ago, Abaksoft said: Sorry, If i understand, when copying this CSS on UniServerModule CustomCss property this will give for all my UniDBGrid components on the Project this behavior ? Yes, But you can avoid it by adding "custom Cls" Link to comment Share on other sites More sharing options...
Abaksoft Posted October 31, 2018 Share Posted October 31, 2018 Ok thx again. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now