Jump to content

Recommended Posts

Posted

The problem I encountered when displaying livestock data is that:

The field descriptions (column headers) do not align with the values displayed in the same column.

In fact, it seems that the field values do not match their headers and the data is shifted or displayed in the wrong column.

Fields like "Gender", "Gender Code", "Serial", "Date of Birth" and... are in a row but their values seem to be shifted in between.

Some columns have a value of zero but it is not clear whether that zero is related to the code or the text.

All the records are similar but the table UI is not reliable because the display order is messed up.

Has anyone had a similar experience in UNIGUI?

Could this be due to the Columns, DataField, Alignment, or GridOptions settings?

Does anyone have any suggestions for ensuring that the field matches the correct column in TUniDBGrid?

I would appreciate your advice on where this problem comes from and how to fix it.
image.thumb.png.1aa72f667ce1dcfd3734c640b8f64945.png
uni-1.95.0.1592
Delphi 11

Posted

 

On 7/24/2025 at 2:20 PM, Sherzod said:

Hello,

If possible, could you create a small test case or sample project that reproduces the issue and share it here?

Hello
I think everything is clear in the picture.
The only thing added to this grid is a CSS
This seems to occur when the number of grid fields increases.

In this part of my program, there are about 60 fields of different types together.

I tried to create an example for you, but it is very difficult because it requires communication with the SQL server.

Posted
On 7/26/2025 at 6:18 PM, bahry said:

Hello @MVakili

This problem occurs when using RTL := True, you must enable UiDBGrid1.Options.dgRowNumbers := True;

 

Regards

 

Thanks for your reply.
I'll check and hope that's the problem.

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