on 10-01-2008 10:35 AM
Hi,
I have Created a Matrix.I want to set a button like picture in one of the column in the matrix.How to achieve this.
Thanx in advance
Mohana
The matrix column must be it_picture type. Then you must catch event of click to cell in proper column and do some action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Normaly as other column type.
If you have this coilumn bounded to datasource, the picture cell must conatain picture name. If you have it bounded to user datasource from SAP table, its same (in one case its givin path from addon directory, in other you must set there whole path to image (c:\xxxxx\xxx.jpg).
Hi Petr,
I have used the following code for loading the image in the matrix column.my problem is, no image is loading on the column.How should i achieve this
Dim odbtable As SAPbouiCOM.DataTable
Dim sql As String
odbtable = oForm.DataSources.DataTables.Add("VEP")
sql = "SELECT u_path from [@skil_attach]"
odbtable.ExecuteQuery(sql)
oInspecCol = oColumns.Item("Inspec")
oInspecCol.Editable = False
oInspecCol.DataBind.Bind("VEP","U_Path")
I have created the table as skil_attach and i added a field as path with alphanumeric - 254
Thanx in advance
Mohana
Try adding the col with type it_PICTURE.
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.