Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: How to insert a picture (green arrow) in all rows in a given column in a Grid?

$
0
0

Hi Leon,

 

I hope you have the data stored in a table and use those data to fill the Grid via DataTables. You need to store the path of the image in the corresponded column of the SQL table. (without double quotations)

 

Change the column type of the Grid to 'gct_Picture' after you load the data. See the following code sample.

 

 

SAPbouiCOM.DataTable dataTable = form.DataSources.DataTables.Item("Your_Data_Table");
dataTable.ExecuteQuery("SELECT * FROM Your_Table");
Grid0.Columns.Item("Column_Name").Type = SAPbouiCOM.BoGridColumnType.gct_Picture;

 

Hope this will help.

 

Regards,

 

J S L Geeganage


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>