Posted 11 January 2019, 3:45 am EST - Updated 4 October 2022, 1:38 am EST
C1FlexGrid cell Image set Text is not show
Posted by: eploentham on 11 January 2019, 3:45 am EST
-
-
Posted 11 January 2019, 4:35 am EST
Sorry, I am not sure whether I understand the issue. You have a grid and each cell contains an image of a document? And you also have columns which show the filename? I don’t see these columns in the screenshot, so it seems that they are invisible?
Basically, it should work. So I assume there is a bug in your code.
If it does not work, try to create a small sample project and post it here.
Best regards
Wolfgang
-
Posted 11 January 2019, 5:07 am EST
i want to show image and text same cell to show user
and another column i set filename to programming -
Posted 14 January 2019, 3:03 am EST
Hello,
You can refer to the following link to add Pictures and Text to a Cell.
https://help.grapecity.com/componentone/NetHelp/c1flexgrid/webframe.html#addingpicturesandtexttoacell.htmlHope it helps.
Thanks.
-
Posted 24 January 2019, 12:18 am EST
thank you
-
Posted 24 January 2019, 1:16 am EST
i’m try, form you advice.
and i find cause of FlexGrid can’t show text in field imagei have script
//Column colpic1 = grf.Cols[colPic1];
//colpic1.DataType = typeof(Image);
//Column colpic2 = grf.Cols[colPic2];
//colpic2.DataType = typeof(Image);
//Column colpic3 = grf.Cols[colPic3];
//colpic3.DataType = typeof(Image);
//Column colpic4 = grf.Cols[colPic4];
//colpic4.DataType = typeof(Image);and
//grf[i, colPic1] = resizedImage; old script
grf.SetCellImage(i, colPic1, resizedImage); new scriptit show text and image
-
Posted 25 January 2019, 12:24 am EST
Hello,
I am glad that you have found the solution. Please feel free to revert if you any question further.
Thanks.