akim2 Posted October 12, 2011 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 Quote
akim2 Posted October 12, 2011 Author 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 Quote
ibandyop Posted October 12, 2011 Posted October 12, 2011 I think this depends on your theme. You should find the css file and look at x-grid3-row Quote
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators Posted October 13, 2011 Row height is automatically determined by cell content. If cell content has multiple lines then row is adjusted automatically. Quote
ldb68 Posted October 13, 2011 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. Quote
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators 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. Quote
Abaksoft Posted October 31, 2018 Posted October 31, 2018 Still not correctly displaying on Build 1481. items are not vertical centred. Did somebody find solution ? Thx. Quote
Sherzod Posted October 31, 2018 Posted October 31, 2018 Hello, Sorry, what are the settings of your grid ? Quote
Abaksoft Posted October 31, 2018 Posted October 31, 2018 Thx Sherzod, Just put an UniDBGrid with : Font Size = 15 Style : fsBold RowHeight = 40 Quote
Sherzod Posted October 31, 2018 Posted October 31, 2018 Maybe you wanted something like this: .x-grid-cell { vertical-align: middle; } .x-grid-cell-inner { line-height: 100%; } 2 Quote
Abaksoft Posted October 31, 2018 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 Quote
Sherzod Posted October 31, 2018 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" Quote
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.