Jump to content

Recommended Posts

Posted

Hi,

 

For now, try:

UniStringGrid1 -> ClientEvents -> ExtEvents -> add reconfigure fn:

function reconfigure(sender, store, columns, oldStore, the, eOpts)
{
  columns[0].align = 'center';
  columns[1].align = 'left';
  columns[2].align = 'right';
}

* this solution works, if your column index > FixedCols

 

Best regards.

  • 10 months later...
Posted

Hmm..

i have a TUniStringGrid with two Columns. The first columns shows a text, the second column shows a decimal value. I fill the values for the grid in the OnCreate event of the form.

I tryed the solution above but it aligns my second column always 'left' instead of 'right'.

 

Any ideas what i am doing wrong here?

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