Jump to content

TUniStringGrid: Add CheckBox during runtime?


snow

Recommended Posts

Hi Sherzod,

yes I have. But I found only solutions for modifying whole columns and also not really during runtime.

What I need is a function like AddCheckBox(Col, Row) which I can call during runtime.

Is that possible?

Regards

Link to comment
Share on other sites

9 minutes ago, snow said:

yes I have. But I found only solutions for modifying whole columns and also not really during runtime.

Okay. Then you should analyze the solution you found. By your logic, you should parse records, column index, and rewrite your column's renderer method.

Link to comment
Share on other sites

Hi Sherzod,

is there a possibility to rewrite the renderer function on cell base?

The problem with rewriting the renderer function for a column is that my FixedRow gets painted like a normal cell.

Thanks in advance.

Regards

Link to comment
Share on other sites

Hi @snow

8 hours ago, snow said:

is there a possibility to rewrite the renderer function on cell base?

Yes, I think for this you should use the values 0 and 1 for these cells, and use other values for the rest.

8 hours ago, snow said:

The problem with rewriting the renderer function for a column is that my FixedRow gets painted like a normal cell.

Could you please explain in more detail?

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