Jump to content

How to update StringGrid cell style without changing cell text?


rgreat

Recommended Posts

For example, I need to only change text for one cell in a row, but change background color for the whole row.

But seems like OnDrawCell for a cell just does not fire without changing cell text.

And "changing" cell text with the same old value does not work either.

The only way I can guess now is to change the cell text for an every cell in a row twice.

1. To some temporary value.

2. Back to original value.

That's quite ineffective and generate unwanted traffic.

 

Please advise how can I forcibly fire OnDrawCell event?

Or maybe some other solution?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...