Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

Posted

Firstly, can you try this ?!:

procedure TMainmForm.UnimFormCreate(Sender: TObject);
begin
  UnimDBGrid1.Columns[yourMemoFieldIndx].DisplayMemo := true
end;
Posted

 

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 :) :)

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...