Home > Back-end >  Cxgrid how to implement and put inside a cell images and text.
Cxgrid how to implement and put inside a cell images and text.

Time:10-20

1. Within a cell, for example, in the above picture, the below is the picture, the most important thing is, at the same time can automatically adjust the height of the cell, how to implement, please expert help,



CodePudding user response:

Did look at examples of official or Delphi examples

CodePudding user response:

No dev, calculate
But you can try in the following picture to expand a little area, draw the text in that area, synthesis of a new image, so this figure directly

CodePudding user response:

refer to the second floor sololie response:
no dev, calculate
But you can try in the following picture to expand a little area, draw the text in that area, synthesis of a new image, so this figure directly line

don't dev ... The gentleman think alike!

CodePudding user response:

reference 1st floor ksrsoft response:
look at examples of official or Delphi examples have


Before the cracked versions of example, download the example of official after learning, can roughly realize band way, but will not be able to sort by column automatically,

refer to the second floor sololie response:
no dev, calculate
But you can try in the following picture to expand a little area, draw the text in that area, synthesis of a new image, so this figure directly line

Is a way, but I'd like to, individual text can accept click event,

CodePudding user response:

Even if the images, accept the click event also do not have what problem,
Increase that is used to draw the rect of literal records, plus the click event (message), to determine whether a click in this text the rect

CodePudding user response:

reference 5 floor sololie reply:
even if images, accept the click event also do not have what problem,
Increase that is used to draw the rect of literal records, plus the click event (message), to determine whether a click in this text the rect


You can achieve, just click it is not intuitive, text to be moved along with the mouse and removing the color,

CodePudding user response:

You still study its source code, there should be a more direct method, this problem will not dev didn't consider that the an is not familiar to dev,

CodePudding user response:

Do you have any familiar devexpress cxgrid, to guide,
  • Related