epos4u Posted September 7, 2016 Posted September 7, 2016 Hi, is there any way UnimDBGrid or UnimListDBGrid can show memo field in the grid please Thank you Quote
rencarnacion Posted September 7, 2016 Posted September 7, 2016 in the column properties you have one Diplay Memo false/true activate and you can show the Memo Fileds in a grid Quote
epos4u Posted September 7, 2016 Author Posted September 7, 2016 in the column properties you have one Diplay Memo false/true activate and you can show the Memo Fileds in a grid not in UnimDBGrid , this is for the mobile version, i know the normal grid has this option thanks Ronny Quote
rencarnacion Posted September 7, 2016 Posted September 7, 2016 Ok my bad sorry , you must change in the property EditorType change to CeText Quote
epos4u Posted September 7, 2016 Author Posted September 7, 2016 Ok my bad sorry , you must change in the property EditorType change to CeText Hi , i need to display a memo field from a database, the EditorType is not the issue here Quote
epos4u Posted September 7, 2016 Author Posted September 7, 2016 Ok my bad sorry , you must change in the property EditorType change to CeText hi need to display a memo field from a database, editortype is not the issue so far i have this done Quote
Sherzod Posted September 7, 2016 Posted September 7, 2016 Hi, What is your UniGUI edition?! Best regards. Quote
Sherzod Posted September 7, 2016 Posted September 7, 2016 and sorry for asking,at the moment, approximate length of your memo field? Quote
epos4u Posted September 7, 2016 Author Posted September 7, 2016 and sorry for asking, at the moment, approximate length of your memo field? Hi Delphi Developer my guru i am using uniGUI Complete - Professional Edition the length of the memo fields are max about 8 lines what they do is hold information of extra options of product eg. Pizza ++ Peppers ++ Onions ++ Chilli ++ Free Drink thanks Quote
Sherzod Posted September 7, 2016 Posted September 7, 2016 Firstly, can you try this ?!: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimDBGrid1.Columns[yourMemoFieldIndx].DisplayMemo := true end; Quote
epos4u Posted September 7, 2016 Author Posted September 7, 2016 Firstly, can you try this ?!: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimDBGrid1.Columns[yourMemoFieldIndx].DisplayMemo := true end; Wow WOW My Brother Delphi Developer You are Amazing, it works with <br> thank you so so so much :) Quote
epos4u Posted September 8, 2016 Author Posted September 8, 2016 My Brother Delphi Developer, the code works great in UnimDBListGrid and not in UnimDBGrid1, i can use UnimDBListGrid for now can i change the font and height of UnimDBListGrid1, i have tried the code posted for UnimDBGrid and that works for UnimDBGrid and not for UnimDBListGrid the code was css .x-grid .x-grid-column { border-style: solid; border-width: 1px 1px 0; height: 25px; line-height: 25px; padding: 0 8px; vertical-align: middle; font-family: 'Times New Roman', Times, serif; font-size: 11pt; font-weight: bold;}.x-grid .x-grid-cell { height: 25px !important; line-height: 25px !important; font-family: 'Times New Roman', Times, serif; font-size: 12pt;} Thank you 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.