Jump to content

UnidbGrid row height


FXSystems

Recommended Posts

Hello everyone.


Does anyone have an idea or a workaround for the following problem:
How to change the height of any single row in UnidbGrid?
I know how to change the height of all rows, but is it possible to change the height of e.g. only the third or any other row?


Any hints?
Thanks for any answer.

Link to comment
Share on other sites

Hi Sherzod.


This is indeed an unusual situation.
I need to prepare a tabular view for one of my projects in which every two records are an integral business part.
We have multiple repeating columns for different dates.
But every one pair of records is important in thit case.
The first record (of the pair) contains a large amount of text data, and the second set of keywords that do not take up much space.
I've tried setting the dynamic height, but my bussiness client requests that these sizes be set default.

Link to comment
Share on other sites

1 hour ago, FXSystems said:

Hi Sherzod.


This is indeed an unusual situation.
I need to prepare a tabular view for one of my projects in which every two records are an integral business part.
We have multiple repeating columns for different dates.
But every one pair of records is important in thit case.
The first record (of the pair) contains a large amount of text data, and the second set of keywords that do not take up much space.
I've tried setting the dynamic height, but my bussiness client requests that these sizes be set default.

hi, in unidbgrid you can use html with css tag , on ondrawcell you can add different css style for every cell based on condition.

 

Link to comment
Share on other sites

1 hour ago, FXSystems said:

Hi Irigsoft.

Thanks for the advice. I'll try.

If something interesting comes up, I'll share it.

for example you can add '</br></br></br>' after cell data to extend row.

like this:

If YourCondition then begin

     Columns.AllowHTML := True;

     Column.Field.Value := Column.Field.Value + '</br></br></br>';

end;

Link to comment
Share on other sites

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...